Package com.uipath.uipathpackage
Class UiPathPack.DescriptorImpl
- java.lang.Object
-
- hudson.model.Descriptor<T>
-
- hudson.tasks.BuildStepDescriptor<Builder>
-
- com.uipath.uipathpackage.UiPathPack.DescriptorImpl
-
- Enclosing class:
- UiPathPack
@Symbol("UiPathPack") @Extension public static class UiPathPack.DescriptorImpl extends BuildStepDescriptor<Builder>
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
doCheckOutputPath(java.lang.String value)
Validates the output pathFormValidation
doCheckProjectJsonPath(java.lang.String value)
Validated the Project(s) pathListBoxModel
doFillOutputTypeItems(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 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()
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<Builder>
- Returns:
- true to allow user to configure this post-promotion task for the given project.
- See Also:
AbstractProject.AbstractProjectDescriptor.isApplicable(Descriptor)
-
getEntryDescriptors
public java.util.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 java.lang.String value)
Validated the Project(s) path- Parameters:
value
- Project Json Path value- Returns:
- FormValidation
-
doCheckOutputPath
public FormValidation doCheckOutputPath(@QueryParameter java.lang.String value)
Validates the output path- Parameters:
value
- Output Path value- Returns:
- FormValidation
-
getDisplayName
@Nonnull public java.lang.String getDisplayName()
Provides the display name to the build step- Overrides:
getDisplayName
in classDescriptor<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 java.util.List<Descriptor> getAuthenticationDescriptors()
Provides the list of descriptors to the choice in hetero-radio- Returns:
- list of the authentication descriptors
-
-