|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<ContainerFormat>
org.jclouds.openstack.glance.v1_0.domain.ContainerFormat
public enum ContainerFormat
The container format refers to whether the virtual machine image is in a file format that also contains metadata about the actual virtual machine.
BARE as the container format if you are
unsure.
| Enum Constant Summary | |
|---|---|
AKI
This indicates what is stored in Glance is an Amazon kernel image |
|
AMI
This indicates what is stored in Glance is an Amazon machine image |
|
ARI
This indicates what is stored in Glance is an Amazon ramdisk image |
|
BARE
This indicates there is no container or metadata envelope for the image |
|
OVF
This is the OVF container format |
|
UNRECOGNIZED
Type unknown to jclouds |
|
| Method Summary | |
|---|---|
static ContainerFormat |
fromValue(String containerFormat)
|
String |
toString()
|
String |
value()
|
static ContainerFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ContainerFormat[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final ContainerFormat BARE
public static final ContainerFormat OVF
public static final ContainerFormat AKI
public static final ContainerFormat ARI
public static final ContainerFormat AMI
public static final ContainerFormat UNRECOGNIZED
| Method Detail |
|---|
public static ContainerFormat[] values()
for (ContainerFormat c : ContainerFormat.values()) System.out.println(c);
public static ContainerFormat valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic String value()
public String toString()
toString in class Enum<ContainerFormat>public static ContainerFormat fromValue(String containerFormat)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||