Class JenkinsConfiguration.DescriptorImpl
- java.lang.Object
-
- hudson.model.Descriptor<JenkinsConfiguration>
-
- com.piketec.jenkins.plugins.tpt.Configuration.JenkinsConfiguration.DescriptorImpl
-
- Enclosing class:
- JenkinsConfiguration
@Extension @Symbol("tptConfig") public static final class JenkinsConfiguration.DescriptorImpl extends Descriptor<JenkinsConfiguration>
Inline class for jenkins. so it is an repeatable object in conf.jelly
-
-
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 Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FormValidation
doCheckConfiguration(String configuration)
static FormValidation
doCheckTptFile(File tptFile)
static boolean
getDefaultEnableTest()
static long
getDefaultTimeout()
String
getDisplayName()
-
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
-
doCheckTptFile
public static FormValidation doCheckTptFile(@QueryParameter File tptFile)
- Parameters:
tptFile
- the TPT file- Returns:
- An error if the TPT file field is empty
-
doCheckConfiguration
public static FormValidation doCheckConfiguration(@QueryParameter String configuration)
- Parameters:
configuration
- The name of the execution configuration- Returns:
- An error
-
getDefaultEnableTest
public static boolean getDefaultEnableTest()
- Returns:
true
-
getDefaultTimeout
public static long getDefaultTimeout()
- Returns:
- 6
-
getDisplayName
public String getDisplayName()
- Overrides:
getDisplayName
in classDescriptor<JenkinsConfiguration>
-
-