Class OctopusDeployDeploymentRecorder.DescriptorImpl

    • Nested Class Summary

      • Nested classes/interfaces inherited from class hudson.model.Descriptor

        hudson.model.Descriptor.FormException, hudson.model.Descriptor.PropertyType, hudson.model.Descriptor.Self
    • Field Summary

      • Fields inherited from class hudson.model.Descriptor

        clazz
      • Fields inherited from interface hudson.model.Saveable

        NOOP
    • Constructor Summary

      Constructors 
      Constructor Description
      DescriptorImpl()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      hudson.util.FormValidation doCheckDeploymentTimeout​(java.lang.String deploymentTimeout)
      Check that the deployment timeout is valid.
      hudson.util.FormValidation doCheckEnvironment​(java.lang.String environment, java.lang.String serverId, java.lang.String spaceId)
      Check that the environment field is not empty.
      hudson.util.FormValidation doCheckProject​(java.lang.String project, java.lang.String serverId, java.lang.String spaceId)
      Check that the project field is not empty and is a valid project.
      hudson.util.FormValidation doCheckReleaseVersion​(java.lang.String releaseVersion, java.lang.String project, java.lang.String serverId, java.lang.String spaceId)
      Check that the releaseVersion field is not empty.
      hudson.util.ComboBoxModel doFillEnvironmentItems​(java.lang.String serverId, java.lang.String spaceId)
      Data binding that returns all possible environment names to be used in the environment autocomplete.
      hudson.util.ComboBoxModel doFillProjectItems​(java.lang.String serverId, java.lang.String spaceId)
      Data binding that returns all possible project names to be used in the project autocomplete.
      hudson.util.ComboBoxModel doFillTenantItems​(java.lang.String serverId, java.lang.String spaceId)
      Data binding that returns all possible tenant names to be used in the tenant autocomplete.
      hudson.util.ComboBoxModel doFillTenantTagItems​(java.lang.String serverId, java.lang.String spaceId)
      Data binding that returns all possible tenant tags to be used in the tenant tag autocomplete.
      java.lang.String getDisplayName()  
      boolean isApplicable​(java.lang.Class<? extends hudson.model.AbstractProject> aClass)  
      • Methods inherited from class hudson.tasks.BuildStepDescriptor

        filter
      • Methods inherited from class hudson.model.Descriptor

        addHelpFileRedirect, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DescriptorImpl

        public DescriptorImpl()
    • Method Detail

      • isApplicable

        public boolean isApplicable​(java.lang.Class<? extends hudson.model.AbstractProject> aClass)
        Specified by:
        isApplicable in class hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>
      • getDisplayName

        public java.lang.String getDisplayName()
        Overrides:
        getDisplayName in class hudson.model.Descriptor<hudson.tasks.Publisher>
      • doCheckProject

        public hudson.util.FormValidation doCheckProject​(@QueryParameter
                                                         java.lang.String project,
                                                         @QueryParameter
                                                         java.lang.String serverId,
                                                         @QueryParameter
                                                         java.lang.String spaceId)
        Check that the project field is not empty and is a valid project.
        Parameters:
        project - The name of the project.
        serverId - The id of OctopusDeployServer in the configuration.
        spaceId - The id of the space where to load this resource from
        Returns:
        Ok if not empty, error otherwise.
      • doCheckDeploymentTimeout

        public hudson.util.FormValidation doCheckDeploymentTimeout​(@QueryParameter
                                                                   java.lang.String deploymentTimeout)
        Check that the deployment timeout is valid.
        Parameters:
        deploymentTimeout - The deployment timeout (TimeSpan).
        Returns:
        Ok if not empty, error otherwise.
      • doCheckReleaseVersion

        public hudson.util.FormValidation doCheckReleaseVersion​(@QueryParameter
                                                                java.lang.String releaseVersion,
                                                                @QueryParameter
                                                                java.lang.String project,
                                                                @QueryParameter
                                                                java.lang.String serverId,
                                                                @QueryParameter
                                                                java.lang.String spaceId)
        Check that the releaseVersion field is not empty.
        Parameters:
        releaseVersion - The release version of the package.
        project - The project name
        serverId - The id of OctopusDeployServer in the configuration.
        spaceId - The id of the space where to load this resource from
        Returns:
        Ok if not empty, error otherwise.
      • doCheckEnvironment

        public hudson.util.FormValidation doCheckEnvironment​(@QueryParameter
                                                             java.lang.String environment,
                                                             @QueryParameter
                                                             java.lang.String serverId,
                                                             @QueryParameter
                                                             java.lang.String spaceId)
        Check that the environment field is not empty.
        Parameters:
        environment - The name of the project.
        serverId - The id of OctopusDeployServer in the configuration.
        spaceId - The id of the space where to load this resource from
        Returns:
        Ok if not empty, error otherwise.
      • doFillEnvironmentItems

        public hudson.util.ComboBoxModel doFillEnvironmentItems​(@QueryParameter
                                                                java.lang.String serverId,
                                                                @QueryParameter
                                                                java.lang.String spaceId)
        Data binding that returns all possible environment names to be used in the environment autocomplete.
        Parameters:
        serverId - The id of OctopusDeployServer in the configuration.
        spaceId - The id of the space where to load this resource from
        Returns:
        ComboBoxModel
      • doFillProjectItems

        public hudson.util.ComboBoxModel doFillProjectItems​(@QueryParameter
                                                            java.lang.String serverId,
                                                            @QueryParameter
                                                            java.lang.String spaceId)
        Data binding that returns all possible project names to be used in the project autocomplete.
        Parameters:
        serverId - The id of OctopusDeployServer in the configuration.
        spaceId - The id of the space where to load this resource from
        Returns:
        ComboBoxModel
      • doFillTenantItems

        public hudson.util.ComboBoxModel doFillTenantItems​(@QueryParameter
                                                           java.lang.String serverId,
                                                           @QueryParameter
                                                           java.lang.String spaceId)
        Data binding that returns all possible tenant names to be used in the tenant autocomplete.
        Parameters:
        serverId - The id of OctopusDeployServer in the configuration.
        spaceId - The id of the space where to load this resource from
        Returns:
        ComboBoxModel
      • doFillTenantTagItems

        public hudson.util.ComboBoxModel doFillTenantTagItems​(@QueryParameter
                                                              java.lang.String serverId,
                                                              @QueryParameter
                                                              java.lang.String spaceId)
        Data binding that returns all possible tenant tags to be used in the tenant tag autocomplete.
        Parameters:
        serverId - The id of OctopusDeployServer in the configuration.
        spaceId - The id of the space where to load this resource from
        Returns:
        ComboBoxModel