Package com.twitter.clientlib.model
Enum OperationalDisconnectProblem.DisconnectTypeEnum
- java.lang.Object
-
- java.lang.Enum<OperationalDisconnectProblem.DisconnectTypeEnum>
-
- com.twitter.clientlib.model.OperationalDisconnectProblem.DisconnectTypeEnum
-
- All Implemented Interfaces:
Serializable,Comparable<OperationalDisconnectProblem.DisconnectTypeEnum>
- Enclosing class:
- OperationalDisconnectProblem
public static enum OperationalDisconnectProblem.DisconnectTypeEnum extends Enum<OperationalDisconnectProblem.DisconnectTypeEnum>
Gets or Sets disconnectType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOperationalDisconnectProblem.DisconnectTypeEnum.Adapter
-
Enum Constant Summary
Enum Constants Enum Constant Description CLIENTAPPLICATIONSTATEDEGRADEDFORCEDISCONNECTINTERNALERRORINVALIDRULESOPERATIONALDISCONNECTSLOWREADERUPSTREAMOPERATIONALDISCONNECTUPSTREAMUNCLEANDISCONNECT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OperationalDisconnectProblem.DisconnectTypeEnumfromValue(String value)StringgetValue()StringtoString()static OperationalDisconnectProblem.DisconnectTypeEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static OperationalDisconnectProblem.DisconnectTypeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OPERATIONALDISCONNECT
public static final OperationalDisconnectProblem.DisconnectTypeEnum OPERATIONALDISCONNECT
-
UPSTREAMOPERATIONALDISCONNECT
public static final OperationalDisconnectProblem.DisconnectTypeEnum UPSTREAMOPERATIONALDISCONNECT
-
FORCEDISCONNECT
public static final OperationalDisconnectProblem.DisconnectTypeEnum FORCEDISCONNECT
-
UPSTREAMUNCLEANDISCONNECT
public static final OperationalDisconnectProblem.DisconnectTypeEnum UPSTREAMUNCLEANDISCONNECT
-
SLOWREADER
public static final OperationalDisconnectProblem.DisconnectTypeEnum SLOWREADER
-
INTERNALERROR
public static final OperationalDisconnectProblem.DisconnectTypeEnum INTERNALERROR
-
CLIENTAPPLICATIONSTATEDEGRADED
public static final OperationalDisconnectProblem.DisconnectTypeEnum CLIENTAPPLICATIONSTATEDEGRADED
-
INVALIDRULES
public static final OperationalDisconnectProblem.DisconnectTypeEnum INVALIDRULES
-
-
Method Detail
-
values
public static OperationalDisconnectProblem.DisconnectTypeEnum[] 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 (OperationalDisconnectProblem.DisconnectTypeEnum c : OperationalDisconnectProblem.DisconnectTypeEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OperationalDisconnectProblem.DisconnectTypeEnum 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
-
getValue
public String getValue()
-
toString
public String toString()
- Overrides:
toStringin classEnum<OperationalDisconnectProblem.DisconnectTypeEnum>
-
fromValue
public static OperationalDisconnectProblem.DisconnectTypeEnum fromValue(String value)
-
-