Package sk.ipesoft.d2000.d2japi
Enum ConnectionAcceptanceError
- java.lang.Object
-
- java.lang.Enum<ConnectionAcceptanceError>
-
- sk.ipesoft.d2000.d2japi.ConnectionAcceptanceError
-
public enum ConnectionAcceptanceError extends java.lang.Enum<ConnectionAcceptanceError>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description connectDisable
createInstanceFailed
instanceAlreadyRunning
invalidProcessName
invalidSAS
newProcessOnSBSDisabled
notEnoughResources
ok
originalRunning
processAlreadyRunning
unknownProcess
wrongInstance
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ConnectionAcceptanceError
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ConnectionAcceptanceError[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ok
public static final ConnectionAcceptanceError ok
-
processAlreadyRunning
public static final ConnectionAcceptanceError processAlreadyRunning
-
notEnoughResources
public static final ConnectionAcceptanceError notEnoughResources
-
unknownProcess
public static final ConnectionAcceptanceError unknownProcess
-
invalidProcessName
public static final ConnectionAcceptanceError invalidProcessName
-
newProcessOnSBSDisabled
public static final ConnectionAcceptanceError newProcessOnSBSDisabled
-
connectDisable
public static final ConnectionAcceptanceError connectDisable
-
wrongInstance
public static final ConnectionAcceptanceError wrongInstance
-
originalRunning
public static final ConnectionAcceptanceError originalRunning
-
createInstanceFailed
public static final ConnectionAcceptanceError createInstanceFailed
-
instanceAlreadyRunning
public static final ConnectionAcceptanceError instanceAlreadyRunning
-
invalidSAS
public static final ConnectionAcceptanceError invalidSAS
-
-
Method Detail
-
values
public static ConnectionAcceptanceError[] 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 (ConnectionAcceptanceError c : ConnectionAcceptanceError.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ConnectionAcceptanceError 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
-
-