Package org.opennms.web.navigate
Enum DisplayStatus
- java.lang.Object
-
- java.lang.Enum<DisplayStatus>
-
- org.opennms.web.navigate.DisplayStatus
-
- All Implemented Interfaces:
Serializable
,Comparable<DisplayStatus>
public enum DisplayStatus extends Enum<DisplayStatus>
DisplayStatus class.
- Since:
- 1.8.1
- Version:
- $Id: $
- Author:
- ranger
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DISPLAY_LINK
DISPLAY_NO_LINK
NO_DISPLAY
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isDisplay()
isDisplayboolean
isDisplayLink()
isDisplayLinkstatic DisplayStatus
valueOf(String name)
Returns the enum constant of this type with the specified name.static DisplayStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NO_DISPLAY
public static final DisplayStatus NO_DISPLAY
-
DISPLAY_NO_LINK
public static final DisplayStatus DISPLAY_NO_LINK
-
DISPLAY_LINK
public static final DisplayStatus DISPLAY_LINK
-
-
Method Detail
-
values
public static DisplayStatus[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (DisplayStatus c : DisplayStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DisplayStatus valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
isDisplay
public boolean isDisplay()
isDisplay
- Returns:
- a boolean.
-
isDisplayLink
public boolean isDisplayLink()
isDisplayLink
- Returns:
- a boolean.
-
-