Class UiPathPack.DescriptorImpl

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

@Symbol("UiPathPack") @Extension public static class UiPathPack.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:
    • getEntryDescriptors

      public List<Descriptor> getEntryDescriptors()
      Provides the list of descriptors to the choice in hetero-radio
      Returns:
      list of the Entry descriptors
    • doCheckProjectJsonPath

      public FormValidation doCheckProjectJsonPath(@QueryParameter String value)
      Validated the Project(s) path
      Parameters:
      value - Project Json 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
    • doFillOutputTypeItems

      public ListBoxModel doFillOutputTypeItems(@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
    • 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
    • getAuthenticationDescriptors

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