Package com.priint.comet.port.whiteboard
Enum CometWhiteboard.DocumentStatus
- java.lang.Object
-
- java.lang.Enum<CometWhiteboard.DocumentStatus>
-
- com.priint.comet.port.whiteboard.CometWhiteboard.DocumentStatus
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<CometWhiteboard.DocumentStatus>
- Enclosing interface:
- CometWhiteboard
public static enum CometWhiteboard.DocumentStatus extends java.lang.Enum<CometWhiteboard.DocumentStatus>
The enum Document status.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AVAILABLEAvailable document status.OPENED_ON_CLIENTOpened on client document status.OPENED_ON_SERVEROpened on server document status.UNKNOWNUnknown document status.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CometWhiteboard.DocumentStatusvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static CometWhiteboard.DocumentStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKNOWN
public static final CometWhiteboard.DocumentStatus UNKNOWN
Unknown document status.
-
OPENED_ON_SERVER
public static final CometWhiteboard.DocumentStatus OPENED_ON_SERVER
Opened on server document status.
-
OPENED_ON_CLIENT
public static final CometWhiteboard.DocumentStatus OPENED_ON_CLIENT
Opened on client document status.
-
AVAILABLE
public static final CometWhiteboard.DocumentStatus AVAILABLE
Available document status.
-
-
Method Detail
-
values
public static CometWhiteboard.DocumentStatus[] 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 (CometWhiteboard.DocumentStatus c : CometWhiteboard.DocumentStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CometWhiteboard.DocumentStatus 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
-
-