public enum ContainerFormat extends Enum<ContainerFormat>
BARE
as the container format if you are
unsure.Enum Constant and Description |
---|
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
|
DOCKER
This is the Docker container format
|
OVA
This indicates what is stored in Glance is an OVA tar archive file
|
OVF
This is the OVF container format
|
UNRECOGNIZED
Type unknown
|
Modifier and Type | Method and Description |
---|---|
String |
value() |
static ContainerFormat |
value(String cf) |
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.
|
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 OVA
public static final ContainerFormat DOCKER
public static final ContainerFormat UNRECOGNIZED
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 nameNullPointerException
- if the argument is nullpublic String value()
public static ContainerFormat value(String cf)
Copyright © 2017. All rights reserved.