Package com.uipath.uipathpackage
Class UiPathRunJob.DescriptorImpl
- java.lang.Object
-
- hudson.model.Descriptor<T>
-
- hudson.tasks.BuildStepDescriptor<Publisher>
-
- com.uipath.uipathpackage.UiPathRunJob.DescriptorImpl
-
- Enclosing class:
- UiPathRunJob
@Symbol("UiPathRunJob") @Extension public static final class UiPathRunJob.DescriptorImpl extends BuildStepDescriptor<Publisher>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
-
-
Field Summary
-
Fields inherited from class hudson.model.Descriptor
clazz
-
-
Constructor Summary
Constructors Constructor Description DescriptorImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FormValidation
doCheckFolderName(java.lang.String value)
Validates Orchestrator FolderFormValidation
doCheckOrchestratorAddress(java.lang.String value)
Validates Orchestrator AddressFormValidation
doCheckParametersFilePath(java.lang.String value)
Validates ParametersFilePathFormValidation
doCheckProcessName(java.lang.String value)
Validates Process NameFormValidation
doCheckResultFilePath(java.lang.String value)
Validates ResultFilePathListBoxModel
doFillPriorityItems(Item item)
Returns the list of Priority options to be filled in choice If item is null or doesn't have configure permission it will return empty listListBoxModel
doFillTraceLevelItems(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 listjava.util.List<Descriptor>
getAuthenticationDescriptors()
Provides the list of descriptors to the choice in hetero-radiojava.lang.String
getDisplayName()
Sets the display name of the build stepjava.util.List<Descriptor>
getJobTypeDescriptors()
Provides the list of descriptors to the choice in hetero-radiojava.util.List<Descriptor>
getStrategyDescriptors()
Provides the list of descriptors to the choice in hetero-radioboolean
isApplicable(java.lang.Class<? extends AbstractProject> aClass)
Returns true if this task is applicable to the given project.-
Methods inherited from class hudson.tasks.BuildStepDescriptor
filter
-
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, 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
-
-
-
-
Method Detail
-
getDisplayName
@Nonnull public java.lang.String getDisplayName()
Sets the display name of the build step- Overrides:
getDisplayName
in classDescriptor<Publisher>
- Returns:
- String display name
-
isApplicable
public boolean isApplicable(java.lang.Class<? extends AbstractProject> aClass)
Returns true if this task is applicable to the given project.- Specified by:
isApplicable
in classBuildStepDescriptor<Publisher>
- Returns:
- true to allow user to configure this post-promotion task for the given project.
- See Also:
AbstractProject.AbstractProjectDescriptor.isApplicable(Descriptor)
-
doCheckProcessName
public FormValidation doCheckProcessName(@QueryParameter java.lang.String value)
Validates Process Name- Parameters:
value
- value of process name- Returns:
- FormValidation
-
doCheckParametersFilePath
public FormValidation doCheckParametersFilePath(@QueryParameter java.lang.String value)
Validates ParametersFilePath- Parameters:
value
- value of parameters file path- Returns:
- FormValidation
-
doCheckResultFilePath
public FormValidation doCheckResultFilePath(@QueryParameter java.lang.String value)
Validates ResultFilePath- Parameters:
value
- value of result file path- Returns:
- FormValidation
-
doCheckOrchestratorAddress
public FormValidation doCheckOrchestratorAddress(@QueryParameter java.lang.String value)
Validates Orchestrator Address- Parameters:
value
- value of orchestrator address- Returns:
- FormValidation
-
doCheckFolderName
public FormValidation doCheckFolderName(@QueryParameter java.lang.String value)
Validates Orchestrator Folder- Parameters:
value
- value of orchestrator folder- Returns:
- FormValidation
-
doFillPriorityItems
public ListBoxModel doFillPriorityItems(@AncestorInPath Item item)
Returns the list of Priority options 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 StartProcessDtoJobPriority
-
getStrategyDescriptors
public java.util.List<Descriptor> getStrategyDescriptors()
Provides the list of descriptors to the choice in hetero-radio- Returns:
- list of the strategy descriptors
-
getJobTypeDescriptors
public java.util.List<Descriptor> getJobTypeDescriptors()
Provides the list of descriptors to the choice in hetero-radio- Returns:
- list of the job type descriptors
-
getAuthenticationDescriptors
public java.util.List<Descriptor> getAuthenticationDescriptors()
Provides the list of descriptors to the choice in hetero-radio- Returns:
- list of the authentication descriptors
-
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
-
-