Class BuildahUnshareCommand.Builder
- java.lang.Object
-
- nl.lexemmens.podman.command.buildah.BuildahUnshareCommand.Builder
-
- Enclosing class:
- BuildahUnshareCommand
public static class BuildahUnshareCommand.Builder extends Object
Builder class to construct an instance of theBuildahUnshareCommand
-
-
Constructor Summary
Constructors Constructor Description Builder(org.apache.maven.plugin.logging.Log log, CommandExecutorDelegate delegate)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Commandbuild()Returns the constructed instance of the commandBuildahUnshareCommand.BuilderremoveDirectory(String directory)Sets the directory to remove using this command
-
-
-
Constructor Detail
-
Builder
public Builder(org.apache.maven.plugin.logging.Log log, CommandExecutorDelegate delegate)Constructor. Creates a new instance of this builder- Parameters:
log- The Maven logdelegate- The executor delegate
-
-
Method Detail
-
removeDirectory
public BuildahUnshareCommand.Builder removeDirectory(String directory)
Sets the directory to remove using this command- Parameters:
directory- The directory to remove- Returns:
- This builder
-
build
public Command build()
Returns the constructed instance of the command- Returns:
- The command
-
-