Package com.ultikits.ultitools.utils
Enum Class AgentConnection.Disposition
java.lang.Object
java.lang.Enum<AgentConnection.Disposition>
com.ultikits.ultitools.utils.AgentConnection.Disposition
- All Implemented Interfaces:
Serializable,Comparable<AgentConnection.Disposition>,java.lang.constant.Constable
- Enclosing class:
AgentConnection
What a refusal or a close means for the connection.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionPlan limit: keep the credential and retry on the fixed plan-limit interval.Retry after a normal delay.Retry after a long delay.Stop for good; the credential is no longer valid.Stop for good; keep the credential (an upgrade is required). -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AgentConnection.DispositionReturns the enum constant of this class with the specified name.static AgentConnection.Disposition[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
RETRY
Retry after a normal delay. -
RETRY_LONG
Retry after a long delay. -
PLAN_LIMIT
Plan limit: keep the credential and retry on the fixed plan-limit interval. -
STOP_DELETE_CREDENTIAL
Stop for good; the credential is no longer valid. -
STOP_KEEP_CREDENTIAL
Stop for good; keep the credential (an upgrade is required).
-
-
Constructor Details
-
Disposition
private Disposition()
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-