Enum ServiceDisplay.DisplayType
- java.lang.Object
-
- java.lang.Enum<ServiceDisplay.DisplayType>
-
- eu.cloudnetservice.cloudnet.ext.labymod.config.ServiceDisplay.DisplayType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<ServiceDisplay.DisplayType>
- Enclosing class:
- ServiceDisplay
public static enum ServiceDisplay.DisplayType extends java.lang.Enum<ServiceDisplay.DisplayType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FIRST_GROUPLAST_GROUPSERVICETASK
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetDisplay(de.dytanic.cloudnet.driver.service.ServiceInfoSnapshot serviceInfoSnapshot)static ServiceDisplay.DisplayTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ServiceDisplay.DisplayType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TASK
public static final ServiceDisplay.DisplayType TASK
-
SERVICE
public static final ServiceDisplay.DisplayType SERVICE
-
FIRST_GROUP
public static final ServiceDisplay.DisplayType FIRST_GROUP
-
LAST_GROUP
public static final ServiceDisplay.DisplayType LAST_GROUP
-
-
Method Detail
-
values
public static ServiceDisplay.DisplayType[] 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 (ServiceDisplay.DisplayType c : ServiceDisplay.DisplayType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ServiceDisplay.DisplayType valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getDisplay
public java.lang.String getDisplay(de.dytanic.cloudnet.driver.service.ServiceInfoSnapshot serviceInfoSnapshot)
-
-