Package org.openstack4j.model.image.v2
Enum Member.MemberStatus
- java.lang.Object
-
- java.lang.Enum<Member.MemberStatus>
-
- org.openstack4j.model.image.v2.Member.MemberStatus
-
- All Implemented Interfaces:
Serializable,Comparable<Member.MemberStatus>
- Enclosing interface:
- Member
public static enum Member.MemberStatus extends Enum<Member.MemberStatus>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACCEPTEDAccept member status on image to see details of image.PENDINGIndicates to owner that image has not been updated.REJECTEDFunctionally the same as pending, but indicates awareness of the member request and specifically denies it.UNKNOWNImageStatus is not one of the reccognized statuses
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Member.MemberStatusforValue(String value)Stringvalue()static Member.MemberStatusvalueOf(String name)Returns the enum constant of this type with the specified name.static Member.MemberStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PENDING
public static final Member.MemberStatus PENDING
Indicates to owner that image has not been updated.
-
ACCEPTED
public static final Member.MemberStatus ACCEPTED
Accept member status on image to see details of image.
-
REJECTED
public static final Member.MemberStatus REJECTED
Functionally the same as pending, but indicates awareness of the member request and specifically denies it.
-
UNKNOWN
public static final Member.MemberStatus UNKNOWN
ImageStatus is not one of the reccognized statuses
-
-
Method Detail
-
values
public static Member.MemberStatus[] 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 (Member.MemberStatus c : Member.MemberStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Member.MemberStatus 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
-
forValue
public static Member.MemberStatus forValue(String value)
-
value
public String value()
-
-