Package com.google.cloud.tools.jib.api
Class LayerConfiguration
- java.lang.Object
-
- com.google.cloud.tools.jib.api.LayerConfiguration
-
@Deprecated @Immutable public class LayerConfiguration extends java.lang.Object
Deprecated.UseFileEntriesLayer
.Configures how to build a layer in the container image. Instantiate withbuilder()
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LayerConfiguration.Builder
Deprecated.Builds aLayerConfiguration
.
-
Field Summary
Fields Modifier and Type Field Description static com.google.cloud.tools.jib.api.buildplan.FilePermissionsProvider
DEFAULT_FILE_PERMISSIONS_PROVIDER
Deprecated.Provider that returns default file permissions (644 for files, 755 for directories).static java.time.Instant
DEFAULT_MODIFICATION_TIME
Deprecated.Default file modification time (EPOCH + 1 second).static com.google.cloud.tools.jib.api.buildplan.ModificationTimeProvider
DEFAULT_MODIFICATION_TIME_PROVIDER
Deprecated.Provider that returns default file modification time (EPOCH + 1 second).
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static LayerConfiguration.Builder
builder()
Deprecated.Gets a newLayerConfiguration.Builder
forLayerConfiguration
.com.google.common.collect.ImmutableList<LayerEntry>
getLayerEntries()
Deprecated.Gets the list of entries.java.lang.String
getName()
Deprecated.Gets the name.
-
-
-
Field Detail
-
DEFAULT_FILE_PERMISSIONS_PROVIDER
public static final com.google.cloud.tools.jib.api.buildplan.FilePermissionsProvider DEFAULT_FILE_PERMISSIONS_PROVIDER
Deprecated.Provider that returns default file permissions (644 for files, 755 for directories).
-
DEFAULT_MODIFICATION_TIME
public static final java.time.Instant DEFAULT_MODIFICATION_TIME
Deprecated.Default file modification time (EPOCH + 1 second).
-
DEFAULT_MODIFICATION_TIME_PROVIDER
public static final com.google.cloud.tools.jib.api.buildplan.ModificationTimeProvider DEFAULT_MODIFICATION_TIME_PROVIDER
Deprecated.Provider that returns default file modification time (EPOCH + 1 second).
-
-
Method Detail
-
builder
public static LayerConfiguration.Builder builder()
Deprecated.Gets a newLayerConfiguration.Builder
forLayerConfiguration
.- Returns:
- a new
LayerConfiguration.Builder
-
getName
public java.lang.String getName()
Deprecated.Gets the name.- Returns:
- the name
-
getLayerEntries
public com.google.common.collect.ImmutableList<LayerEntry> getLayerEntries()
Deprecated.Gets the list of entries.- Returns:
- the list of entries
-
-