Package com.uipath.uipathpackage
Class UiPathTest.DescriptorImpl
- java.lang.Object
-
- hudson.model.Descriptor<T>
-
- hudson.tasks.BuildStepDescriptor<Publisher>
-
- com.uipath.uipathpackage.UiPathTest.DescriptorImpl
-
- Enclosing class:
- UiPathTest
@Symbol("UiPathTest") @Extension public static final class UiPathTest.DescriptorImpl extends BuildStepDescriptor<Publisher>
Descriptor
forBuilder
-
-
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
doCheckTimeout(Item item, java.lang.String value)
Validates that the timeout is specifiedListBoxModel
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()
Provides the display name to the build stepjava.util.List<Descriptor>
getEntryDescriptors()
Provides the list of descriptors to the choice in hetero-radioboolean
isApplicable(java.lang.Class<? extends AbstractProject> jobType)
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
-
isApplicable
public boolean isApplicable(java.lang.Class<? extends AbstractProject> jobType)
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)
-
getDisplayName
@Nonnull public java.lang.String getDisplayName()
Provides the display name to the build step- Overrides:
getDisplayName
in classDescriptor<Publisher>
- Returns:
- String display name
-
getEntryDescriptors
public java.util.List<Descriptor> getEntryDescriptors()
Provides the list of descriptors to the choice in hetero-radio- Returns:
- list of the Entry 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
-
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
-
doCheckParametersFilePath
public FormValidation doCheckParametersFilePath(@QueryParameter java.lang.String value)
Validates ParametersFilePath- Parameters:
value
- value of parameters file path- Returns:
- FormValidation
-
doCheckTimeout
public FormValidation doCheckTimeout(@AncestorInPath Item item, @QueryParameter java.lang.String value)
Validates that the timeout is specified- Parameters:
item
- Basic configuration unit in Hudsonvalue
- Environments- Returns:
- FormValidation
-
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
-
-