public enum BoxType extends Enum<BoxType>
Enum Constant and Description |
---|
APPLICATION |
CLOUDFORMATION |
DOCKER |
POLICY |
SCRIPT |
Modifier and Type | Method and Description |
---|---|
String |
getSchema() |
static BoxType |
getType(String schema) |
static boolean |
isBox(String schema) |
boolean |
isType(String schema) |
static BoxType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BoxType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BoxType SCRIPT
public static final BoxType POLICY
public static final BoxType APPLICATION
public static final BoxType CLOUDFORMATION
public static final BoxType DOCKER
public static BoxType[] values()
for (BoxType c : BoxType.values()) System.out.println(c);
public static BoxType 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 boolean isBox(String schema)
public static BoxType getType(String schema) throws ElasticBoxModelException
ElasticBoxModelException
public boolean isType(String schema)
public String getSchema()
Copyright © 2016–2019. All rights reserved.