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>devicesDevice 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 voiddoExecute()protected abstract voiddoExecute(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:
doExecutein classPodmanGoal- Throws:
IOExceptionorg.apache.maven.plugin.MojoExecutionException
-
doExecute
protected abstract void doExecute(List<ContainerConfig> containerConfigs, String networkName) throws IOException, org.apache.maven.plugin.MojoExecutionException
- Throws:
IOExceptionorg.apache.maven.plugin.MojoExecutionException
-
-