Class ManifestAndConfigTemplate
- java.lang.Object
-
- com.google.cloud.tools.jib.image.json.ManifestAndConfigTemplate
-
- All Implemented Interfaces:
JsonTemplate
public class ManifestAndConfigTemplate extends java.lang.Object implements JsonTemplate
Stores a manifest and container config.
-
-
Constructor Summary
Constructors Constructor Description ManifestAndConfigTemplate(ManifestTemplate manifest, ContainerConfigurationTemplate config)
Creates an instance.ManifestAndConfigTemplate(ManifestTemplate manifest, ContainerConfigurationTemplate config, java.lang.String manifestDigest)
Creates an instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContainerConfigurationTemplate
getConfig()
Gets the container configuration.ManifestTemplate
getManifest()
Gets the manifest.java.lang.String
getManifestDigest()
Gets the digest of the manifest.
-
-
-
Constructor Detail
-
ManifestAndConfigTemplate
public ManifestAndConfigTemplate(ManifestTemplate manifest, @Nullable ContainerConfigurationTemplate config)
Creates an instance.- Parameters:
manifest
- the image manifestconfig
- the container configuration
-
ManifestAndConfigTemplate
public ManifestAndConfigTemplate(ManifestTemplate manifest, @Nullable ContainerConfigurationTemplate config, @Nullable java.lang.String manifestDigest)
Creates an instance.- Parameters:
manifest
- the image manifestconfig
- the container configurationmanifestDigest
- the digest of the manifest
-
-
Method Detail
-
getManifestDigest
@Nullable public java.lang.String getManifestDigest()
Gets the digest of the manifest.- Returns:
- the digest
-
getManifest
@Nullable public ManifestTemplate getManifest()
Gets the manifest.- Returns:
- the manifest
-
getConfig
@Nullable public ContainerConfigurationTemplate getConfig()
Gets the container configuration.- Returns:
- the container configuration
-
-