Enum AzResource.FormalStatus
- java.lang.Object
-
- java.lang.Enum<AzResource.FormalStatus>
-
- com.microsoft.azure.toolkit.lib.common.model.AzResource.FormalStatus
-
- All Implemented Interfaces:
Serializable,Comparable<AzResource.FormalStatus>
- Enclosing interface:
- AzResource
public static enum AzResource.FormalStatus extends Enum<AzResource.FormalStatus>
-
-
Field Summary
Fields Modifier and Type Field Description private static HashSet<String>deletedStatusprivate static HashSet<String>deletingStatusprivate static HashSet<String>failedStatusprivate static HashSet<String>readingStatusprivate static HashSet<String>runningStatusprivate static HashSet<String>stoppedStatusprivate static HashSet<String>writingStatus
-
Constructor Summary
Constructors Modifier Constructor Description privateFormalStatus()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AzResource.FormalStatusdummyFormalize(String status)booleanisConnected()booleanisCreating()booleanisDeleted()booleanisDeleting()booleanisFailed()booleanisReading()booleanisRunning()booleanisStopped()booleanisUnknown()booleanisWaiting()booleanisWritable()booleanisWriting()static AzResource.FormalStatusvalueOf(String name)Returns the enum constant of this type with the specified name.static AzResource.FormalStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RUNNING
public static final AzResource.FormalStatus RUNNING
-
STOPPED
public static final AzResource.FormalStatus STOPPED
-
FAILED
public static final AzResource.FormalStatus FAILED
-
DELETED
public static final AzResource.FormalStatus DELETED
-
UNKNOWN
public static final AzResource.FormalStatus UNKNOWN
-
WRITING
public static final AzResource.FormalStatus WRITING
-
READING
public static final AzResource.FormalStatus READING
-
CREATING
public static final AzResource.FormalStatus CREATING
-
DELETING
public static final AzResource.FormalStatus DELETING
-
-
Method Detail
-
values
public static AzResource.FormalStatus[] 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 (AzResource.FormalStatus c : AzResource.FormalStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AzResource.FormalStatus 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
-
dummyFormalize
public static AzResource.FormalStatus dummyFormalize(String status)
-
isRunning
public boolean isRunning()
-
isStopped
public boolean isStopped()
-
isFailed
public boolean isFailed()
-
isDeleted
public boolean isDeleted()
-
isCreating
public boolean isCreating()
-
isDeleting
public boolean isDeleting()
-
isWriting
public boolean isWriting()
-
isReading
public boolean isReading()
-
isWaiting
public boolean isWaiting()
-
isUnknown
public boolean isUnknown()
-
isWritable
public boolean isWritable()
-
isConnected
public boolean isConnected()
-
-