Package nl.lexemmens.podman.config.image
Class StageConfiguration
- java.lang.Object
-
- nl.lexemmens.podman.config.image.StageConfiguration
-
public class StageConfiguration extends Object
Allows specifying a custom image name for a specific build stage in a Containerfile
-
-
Constructor Summary
Constructors Constructor Description StageConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetImageName()The image name to useStringgetName()The name of the stagevoidsetImageName(String imageName)Sets the name of the image.voidsetName(String name)Sets the name of the stagevoidsetStageName(String stage)Sets the name of the stage
-
-
-
Method Detail
-
getName
public String getName()
The name of the stage- Returns:
- The name of the stage
-
getImageName
public String getImageName()
The image name to use- Returns:
- The name of the image to use
-
setName
public void setName(String name)
Sets the name of the stage- Parameters:
name- the name of the stage to set
-
setImageName
public void setImageName(String imageName)
Sets the name of the image.- Parameters:
imageName- The name of the image to set.
-
setStageName
public void setStageName(String stage)
Sets the name of the stage- Parameters:
stage- The name of the stage to set
-
-