|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<PortletPhase>
org.apache.struts2.portlet.PortletPhase
public enum PortletPhase
TODO lukaszlenart: add a comment
Enum Constant Summary | |
---|---|
ACTION_PHASE
Constant used for the action phase ( Portlet.processAction(javax.portlet.ActionRequest, javax.portlet.ActionResponse) ) |
|
EVENT_PHASE
Constant used for the event phase |
|
RENDER_PHASE
Constant used for the render phase ( Portlet.render(javax.portlet.RenderRequest, javax.portlet.RenderResponse) ) |
|
SERVE_RESOURCE_PHASE
|
Method Summary | |
---|---|
boolean |
isAction()
|
boolean |
isEvent()
|
boolean |
isRender()
|
boolean |
isResource()
|
static PortletPhase |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static PortletPhase[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final PortletPhase RENDER_PHASE
Portlet.render(javax.portlet.RenderRequest, javax.portlet.RenderResponse)
)
public static final PortletPhase ACTION_PHASE
Portlet.processAction(javax.portlet.ActionRequest, javax.portlet.ActionResponse)
)
public static final PortletPhase EVENT_PHASE
public static final PortletPhase SERVE_RESOURCE_PHASE
Method Detail |
---|
public static PortletPhase[] values()
for (PortletPhase c : PortletPhase.values()) System.out.println(c);
public static PortletPhase valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic boolean isRender()
public boolean isAction()
public boolean isEvent()
public boolean isResource()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |