Package com.google.cloud.tools.jib.api
Enum JavaContainerBuilder.LayerType
- java.lang.Object
-
- java.lang.Enum<JavaContainerBuilder.LayerType>
-
- com.google.cloud.tools.jib.api.JavaContainerBuilder.LayerType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<JavaContainerBuilder.LayerType>
- Enclosing class:
- JavaContainerBuilder
public static enum JavaContainerBuilder.LayerType extends java.lang.Enum<JavaContainerBuilder.LayerType>
Represents the different types of layers for a Java application.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CLASSES
DEPENDENCIES
EXTRA_FILES
JVM_ARG_FILES
PROJECT_DEPENDENCIES
RESOURCES
SNAPSHOT_DEPENDENCIES
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getName()
static JavaContainerBuilder.LayerType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static JavaContainerBuilder.LayerType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DEPENDENCIES
public static final JavaContainerBuilder.LayerType DEPENDENCIES
-
SNAPSHOT_DEPENDENCIES
public static final JavaContainerBuilder.LayerType SNAPSHOT_DEPENDENCIES
-
PROJECT_DEPENDENCIES
public static final JavaContainerBuilder.LayerType PROJECT_DEPENDENCIES
-
RESOURCES
public static final JavaContainerBuilder.LayerType RESOURCES
-
CLASSES
public static final JavaContainerBuilder.LayerType CLASSES
-
EXTRA_FILES
public static final JavaContainerBuilder.LayerType EXTRA_FILES
-
JVM_ARG_FILES
public static final JavaContainerBuilder.LayerType JVM_ARG_FILES
-
-
Method Detail
-
values
public static JavaContainerBuilder.LayerType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (JavaContainerBuilder.LayerType c : JavaContainerBuilder.LayerType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static JavaContainerBuilder.LayerType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getName
public java.lang.String getName()
-
-