Class StageConfiguration


  • public class StageConfiguration
    extends Object
    Allows specifying a custom image name for a specific build stage in a Containerfile
    • Field Detail

      • name

        @Parameter
        protected String name
      • imageName

        @Parameter
        protected String imageName
    • Constructor Detail

      • StageConfiguration

        public StageConfiguration()
    • 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