public enum PortletPhase extends Enum<PortletPhase>
| Enum Constant and Description | 
|---|
| ACTION_PHASEConstant used for the action phase (
  Portlet.processAction(javax.portlet.ActionRequest, javax.portlet.ActionResponse)) | 
| EVENT_PHASEConstant used for the event phase | 
| RENDER_PHASEConstant used for the render phase (
  Portlet.render(javax.portlet.RenderRequest, javax.portlet.RenderResponse)) | 
| SERVE_RESOURCE_PHASEConstant used for the serve resource phase that was added with the 2.0 portlet specification. | 
| Modifier and Type | Method and Description | 
|---|---|
| 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. | 
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
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 nameNullPointerException - if the argument is nullpublic boolean isRender()
public boolean isAction()
public boolean isEvent()
public boolean isResource()
Copyright © 2000–2025 Apache Software Foundation. All rights reserved.