Class DockerDeployment

  • All Implemented Interfaces:
    Deployment

    public class DockerDeployment
    extends java.lang.Object
    implements Deployment
    • Constructor Detail

      • DockerDeployment

        public DockerDeployment()
      • DockerDeployment

        public DockerDeployment​(java.lang.String baseImage,
                                java.lang.String imageName,
                                java.lang.String version)
    • Method Detail

      • propertyNames

        public java.util.List<java.lang.String> propertyNames()
        Specified by:
        propertyNames in interface Deployment
      • asProperties

        public java.util.Map<java.lang.String,​java.lang.String> asProperties()
        Specified by:
        asProperties in interface Deployment
      • fromProperties

        public void fromProperties​(java.util.Map<java.lang.String,​java.lang.String> props)
        Specified by:
        fromProperties in interface Deployment
      • validate

        public DeploymentValidation validate()
        Description copied from interface: Deployment
        Validate the deployment configuration before the deployment build is attempted Used to detect obvious problems such as "output location is not set" etc
        Specified by:
        validate in interface Deployment
      • outputString

        public java.lang.String outputString()
        Description copied from interface: Deployment
        Summary output string after the build completes i.e., info about the output after the build has completed
        Specified by:
        outputString in interface Deployment
      • gradleImports

        public java.util.List<java.lang.String> gradleImports()
        Specified by:
        gradleImports in interface Deployment
      • gradleTaskNames

        public java.util.List<java.lang.String> gradleTaskNames()
        Specified by:
        gradleTaskNames in interface Deployment