Class PodmanContainer
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- org.honton.chas.podman.maven.plugin.PodmanGoal
-
- org.honton.chas.podman.maven.plugin.container.PodmanContainer
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
PodmanContainerRm
,PodmanContainerRun
public abstract class PodmanContainer extends PodmanGoal
-
-
Field Summary
Fields Modifier and Type Field Description List<DeviceMountConfig>
devices
Device mappings-
Fields inherited from class org.honton.chas.podman.maven.plugin.PodmanGoal
connection, errorOutput, pwd, url
-
-
Constructor Summary
Constructors Constructor Description PodmanContainer()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected void
doExecute()
protected abstract void
doExecute(List<ContainerConfig> containerConfigs, String networkName)
-
Methods inherited from class org.honton.chas.podman.maven.plugin.PodmanGoal
createProcess, createProcess, execute, executeCommand, executeCommand, executeCommand, executeCommand, executeCommand, getExecutor
-
-
-
-
Field Detail
-
devices
@Parameter public List<DeviceMountConfig> devices
Device mappings- Since:
- 0.0.5
-
-
Method Detail
-
doExecute
protected final void doExecute() throws IOException, org.apache.maven.plugin.MojoExecutionException
- Specified by:
doExecute
in classPodmanGoal
- Throws:
IOException
org.apache.maven.plugin.MojoExecutionException
-
doExecute
protected abstract void doExecute(List<ContainerConfig> containerConfigs, String networkName) throws IOException, org.apache.maven.plugin.MojoExecutionException
- Throws:
IOException
org.apache.maven.plugin.MojoExecutionException
-
-