Package com.piketec.jenkins.plugins.tpt
Class TptPlugin.DescriptorImpl
- Enclosing class:
- TptPlugin
@Extension
@Symbol("tptExecute")
public static final class TptPlugin.DescriptorImpl
extends BuildStepDescriptor<Builder>
The descriptor of TptPlugin
- Author:
- jkuhnert, Synopsys Inc.
-
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 TypeMethodDescriptionstatic FormValidation
doCheckExePaths
(String exePaths) Basic validation of the entered paths to tpt.exe.Makes the combobox list on the descriptor with all the possible options for the JunitLogLevelstatic boolean
static boolean
static com.piketec.jenkins.plugins.tpt.TptLog.LogLevel
static String
static String
static String
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, 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
-
DEFAULT_WORKER_JOB_COUNT
- See Also:
-
DEFAULT_WORKER_JOB_TRIES
- See Also:
-
-
Constructor Details
-
DescriptorImpl
public DescriptorImpl()
-
-
Method Details
-
getDefaultTptBindingName
- Returns:
- "TptApi"
-
getDefaultIsDistributing
public static boolean getDefaultIsDistributing()- Returns:
false
-
getDefaultTptPort
- Returns:
- "1099"
-
getDefaultTptStartUpWaitTime
- Returns:
- "60" (1 min)
-
getDefaultEnableJunit
public static boolean getDefaultEnableJunit()- Returns:
false
-
getDefaultJUnitLogLevel
public static com.piketec.jenkins.plugins.tpt.TptLog.LogLevel getDefaultJUnitLogLevel()- Returns:
INFO
-
doCheckExePaths
Basic validation of the entered paths to tpt.exe. At least one must exist.- Parameters:
exePaths
- The tpt installation paths- Returns:
- The validation of the form
-
isApplicable
- Specified by:
isApplicable
in classBuildStepDescriptor<Builder>
-
getDisplayName
- Overrides:
getDisplayName
in classDescriptor<Builder>
-
doFillJUnitLogLevelItems
Makes the combobox list on the descriptor with all the possible options for the JunitLogLevel- Returns:
- items from the combobox list
-