Class UiPathSolutionPack.DescriptorImpl

java.lang.Object
hudson.model.Descriptor<Builder>
hudson.tasks.BuildStepDescriptor<Builder>
com.uipath.uipathpackage.solutions.UiPathSolutionPack.DescriptorImpl
All Implemented Interfaces:
Saveable, OnMaster
Enclosing class:
UiPathSolutionPack

@Symbol("UiPathSolutionPack") @Extension public static class UiPathSolutionPack.DescriptorImpl extends BuildStepDescriptor<Builder>
  • Constructor Details

    • DescriptorImpl

      public DescriptorImpl()
  • Method Details

    • isApplicable

      public boolean isApplicable(Class<? extends AbstractProject> jobType)
      Returns true if this task is applicable to the given project.
      Specified by:
      isApplicable in class BuildStepDescriptor<Builder>
      Returns:
      true to allow user to configure this post-promotion task for the given project.
      See Also:
    • doCheckVersion

      public FormValidation doCheckVersion(@QueryParameter String value)
      Validates the version
      Parameters:
      value - Version value
      Returns:
      FormValidation
    • doCheckWorkspacePath

      public FormValidation doCheckWorkspacePath(@QueryParameter String value)
      Validated the Workspace path
      Parameters:
      value - Workspace Path value
      Returns:
      FormValidation
    • doCheckOutputPath

      public FormValidation doCheckOutputPath(@QueryParameter String value)
      Validates the output path
      Parameters:
      value - Output Path value
      Returns:
      FormValidation
    • getDisplayName

      @Nonnull public String getDisplayName()
      Provides the display name to the build step
      Overrides:
      getDisplayName in class Descriptor<Builder>
      Returns:
      String display name
    • doFillTraceLevelItems

      public ListBoxModel doFillTraceLevelItems(@AncestorInPath Item item)
      Returns the list of Strings to be filled in choice If item is null or doesn't have configure permission it will return empty list
      Parameters:
      item - Basic configuration unit in Hudson
      Returns:
      ListBoxModel list of String
    • doFillPasswordItems

      public ListBoxModel doFillPasswordItems(@AncestorInPath Item item)
      Populates the password dropdown with available Jenkins credentials
      Parameters:
      item - Basic configuration unit in Hudson
      Returns:
      ListBoxModel list of credentials
    • getAuthenticationDescriptors

      public List<Descriptor> getAuthenticationDescriptors()
      Provides the list of descriptors to the choice in hetero-radio
      Returns:
      list of the authentication descriptors