Class AbstractToolDescriptor
java.lang.Object
hudson.model.Descriptor<T>
hudson.tasks.BuildStepDescriptor<Builder>
de.tracetronic.jenkins.plugins.ecutest.tool.AbstractToolDescriptor
- Direct Known Subclasses:
LicenseETBuilder.DescriptorImpl
,StartETBuilder.DescriptorImpl
,StartTSBuilder.DescriptorImpl
,StopETBuilder.DescriptorImpl
,StopTSBuilder.DescriptorImpl
Common base descriptor class for all test related task build descriptors implemented in this plugin.
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
-
Field Summary
FieldsFields inherited from class hudson.model.Descriptor
clazz
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoCheckTimeout
(String value) Validates the timeout.abstract int
Gets the default timeout.Gets the tool installations.Gets the tool descriptor holding the installations.boolean
isApplicable
(Class<? extends AbstractProject> jobType) Methods inherited from class hudson.tasks.BuildStepDescriptor
filter
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, configure, configure, doHelp, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getDisplayName, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getStaticHelpUrl, getStaticHelpUrl, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Field Details
-
toolValidator
Validator to check form fields.
-
-
Constructor Details
-
AbstractToolDescriptor
public AbstractToolDescriptor()Instantiates a newAbstractToolDescriptor
.
-
-
Method Details
-
getInstallations
Gets the tool installations.- Returns:
- the installations
-
getToolDescriptor
Gets the tool descriptor holding the installations.- Returns:
- the tool descriptor
-
isApplicable
- Specified by:
isApplicable
in classBuildStepDescriptor<Builder>
-
getDefaultTimeout
public abstract int getDefaultTimeout()Gets the default timeout.- Returns:
- the default timeout
-
doCheckTimeout
Validates the timeout.- Parameters:
value
- the timeout- Returns:
- the form validation
-