public enum VMTemplateState extends Enum<VMTemplateState>
| Enum Constant and Description |
|---|
DONE |
FAILED |
IN_PROGRESS |
UNAVAILABLE |
| Modifier and Type | Method and Description |
|---|---|
static VMTemplateState |
fromTask(TaskState state) |
static VMTemplateState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VMTemplateState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VMTemplateState IN_PROGRESS
public static final VMTemplateState DONE
public static final VMTemplateState FAILED
public static final VMTemplateState UNAVAILABLE
public static VMTemplateState[] values()
for (VMTemplateState c : VMTemplateState.values()) System.out.println(c);
public static VMTemplateState 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 VMTemplateState fromTask(TaskState state)
Copyright © 2008-2014 Abiquo Holdings S.L.. All Rights Reserved.