public static enum Template.Format extends Enum<Template.Format>
Enum Constant and Description |
---|
OVA |
QCOW2 |
UNRECOGNIZED |
VHD |
Modifier and Type | Method and Description |
---|---|
static Template.Format |
fromValue(String format) |
static Template.Format |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Template.Format[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Template.Format VHD
public static final Template.Format QCOW2
public static final Template.Format OVA
public static final Template.Format UNRECOGNIZED
public static Template.Format[] values()
for (Template.Format c : Template.Format.values()) System.out.println(c);
public static Template.Format 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 static Template.Format fromValue(String format)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.