Package io.fabric8.maven.docker.config
Class BuildImageConfiguration
- java.lang.Object
-
- io.fabric8.maven.docker.config.BuildImageConfiguration
-
- All Implemented Interfaces:
Serializable
public class BuildImageConfiguration extends Object implements Serializable
- Since:
- 02.09.14
- Author:
- roland
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBuildImageConfiguration.Builder
-
Field Summary
Fields Modifier and Type Field Description static StringDEFAULT_CLEANUPstatic StringDEFAULT_FILTER
-
Constructor Summary
Constructors Constructor Description BuildImageConfiguration()
-
Method Summary
-
-
-
Field Detail
-
DEFAULT_FILTER
public static final String DEFAULT_FILTER
- See Also:
- Constant Field Values
-
DEFAULT_CLEANUP
public static final String DEFAULT_CLEANUP
- See Also:
- Constant Field Values
-
-
Method Detail
-
isDockerFileMode
public boolean isDockerFileMode()
-
getLoadNamePattern
public String getLoadNamePattern()
-
getContextDir
public File getContextDir()
-
getContextDirRaw
public String getContextDirRaw()
-
getDockerFile
public File getDockerFile()
-
getDockerArchive
public File getDockerArchive()
-
getDockerFileRaw
public String getDockerFileRaw()
-
getDockerArchiveRaw
public String getDockerArchiveRaw()
-
getDockerFileDirRaw
public String getDockerFileDirRaw()
-
getFilter
public String getFilter()
-
getFilterRaw
public String getFilterRaw()
-
getFrom
public String getFrom()
-
getNetwork
public String getNetwork()
-
getRegistry
public String getRegistry()
-
getMaintainer
public String getMaintainer()
-
getWorkdir
public String getWorkdir()
-
getAssemblyConfiguration
@Deprecated public AssemblyConfiguration getAssemblyConfiguration()
Deprecated.UsegetAssemblyConfigurations()instead.
-
getAssemblyConfigurations
@Nonnull public List<AssemblyConfiguration> getAssemblyConfigurations()
-
getImagePullPolicy
public String getImagePullPolicy()
-
getCmd
public Arguments getCmd()
-
getCommand
@Deprecated public String getCommand()
Deprecated.
-
getCleanup
public String getCleanup()
-
cleanupMode
public CleanupMode cleanupMode()
-
noCache
public boolean noCache()
-
squash
public boolean squash()
-
optimise
public boolean optimise()
-
skip
public boolean skip()
-
skipPush
public boolean skipPush()
-
getNoCache
public Boolean getNoCache()
-
getSquash
public Boolean getSquash()
-
getOptimise
public Boolean getOptimise()
-
getSkip
public Boolean getSkip()
-
getSkipPush
public Boolean getSkipPush()
-
getCompression
public ArchiveCompression getCompression()
-
getEntryPoint
public Arguments getEntryPoint()
-
getShell
public Arguments getShell()
-
getUser
public String getUser()
-
getHealthCheck
public HealthCheckConfiguration getHealthCheck()
-
getAbsoluteContextDirPath
public File getAbsoluteContextDirPath(MojoParameters mojoParams)
-
getAbsoluteDockerFilePath
public File getAbsoluteDockerFilePath(MojoParameters mojoParams)
-
getAbsoluteDockerTarPath
public File getAbsoluteDockerTarPath(MojoParameters mojoParams)
-
initTags
public void initTags(ConfigHelper.NameFormatter nameFormatter)
-
initAndValidate
public String initAndValidate(Logger log) throws IllegalArgumentException
- Throws:
IllegalArgumentException
-
-