Class CloudPoolStatus
- java.lang.Object
-
- com.elastisys.scale.cloudpool.api.types.CloudPoolStatus
-
-
Field Summary
Fields Modifier and Type Field Description static CloudPoolStatusCONFIGURED_STARTEDstatic CloudPoolStatusCONFIGURED_STOPPEDstatic CloudPoolStatusUNCONFIGURED_STOPPED
-
Constructor Summary
Constructors Constructor Description CloudPoolStatus(boolean started, boolean configured)Creates aCloudPoolStatus.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)inthashCode()booleanisConfigured()Indicates if theCloudPoolis configured.booleanisStarted()Indicates if theCloudPoolis in a started state.java.lang.StringtoString()
-
-
-
Field Detail
-
UNCONFIGURED_STOPPED
public static final CloudPoolStatus UNCONFIGURED_STOPPED
-
CONFIGURED_STOPPED
public static final CloudPoolStatus CONFIGURED_STOPPED
-
CONFIGURED_STARTED
public static final CloudPoolStatus CONFIGURED_STARTED
-
-
Constructor Detail
-
CloudPoolStatus
public CloudPoolStatus(boolean started, boolean configured)Creates aCloudPoolStatus.
-
-
Method Detail
-
isStarted
public boolean isStarted()
Indicates if theCloudPoolis in a started state.- Returns:
-
isConfigured
public boolean isConfigured()
Indicates if theCloudPoolis configured.- Returns:
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-