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
public abstract class AbstractToolDescriptor extends BuildStepDescriptor<Builder>
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
Fields Modifier and Type Field Description protected ToolValidator
toolValidator
Validator to check form fields.-
Fields inherited from class hudson.model.Descriptor
clazz
-
-
Constructor Summary
Constructors Constructor Description AbstractToolDescriptor()
Instantiates a newAbstractToolDescriptor
.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description FormValidation
doCheckTimeout(String value)
Validates the timeout.abstract int
getDefaultTimeout()
Gets the default timeout.ETInstallation[]
getInstallations()
Gets the tool installations.ETInstallation.DescriptorImpl
getToolDescriptor()
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, calcAutoCompleteSettings, calcFillSettings, configure, configure, 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, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
-
-
-
Field Detail
-
toolValidator
protected final transient ToolValidator toolValidator
Validator to check form fields.
-
-
Constructor Detail
-
AbstractToolDescriptor
public AbstractToolDescriptor()
Instantiates a newAbstractToolDescriptor
.
-
-
Method Detail
-
getInstallations
public ETInstallation[] getInstallations()
Gets the tool installations.- Returns:
- the installations
-
getToolDescriptor
public ETInstallation.DescriptorImpl getToolDescriptor()
Gets the tool descriptor holding the installations.- Returns:
- the tool descriptor
-
isApplicable
public boolean isApplicable(Class<? extends AbstractProject> jobType)
- Specified by:
isApplicable
in classBuildStepDescriptor<Builder>
-
getDefaultTimeout
public abstract int getDefaultTimeout()
Gets the default timeout.- Returns:
- the default timeout
-
doCheckTimeout
public FormValidation doCheckTimeout(@QueryParameter String value)
Validates the timeout.- Parameters:
value
- the timeout- Returns:
- the form validation
-
-