public enum PortletContainer extends Enum<PortletContainer>
Modifier and Type | Method and Description |
---|---|
boolean |
isDetected(HttpServletRequest httpServletRequest) |
boolean |
isDetected(javax.portlet.PortletRequest portletRequest) |
static PortletContainer |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PortletContainer[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PortletContainer LIFERAY
public static final PortletContainer PLUTO
public static final PortletContainer WEBSPHERE
public static PortletContainer[] values()
for (PortletContainer c : PortletContainer.values()) System.out.println(c);
public static PortletContainer 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 isDetected(HttpServletRequest httpServletRequest)
public boolean isDetected(javax.portlet.PortletRequest portletRequest)
Copyright © 2019 Liferay, Inc.. All rights reserved.