Package org.ow2.clif.jenkins
Class ClifBuilder.DescriptorImpl
- java.lang.Object
-
- hudson.model.Descriptor<T>
-
- hudson.tasks.BuildStepDescriptor<Builder>
-
- org.ow2.clif.jenkins.ClifBuilder.DescriptorImpl
-
- Enclosing class:
- ClifBuilder
@Extension public static class ClifBuilder.DescriptorImpl extends BuildStepDescriptor<Builder>
-
-
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 Modifier Constructor Description DescriptorImpl()
protected
DescriptorImpl(Class<? extends ClifBuilder> clazz)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FormValidation
doCheckReportDir(String value)
Checks if the ReportDir is valid.FormValidation
doCheckTestPlanFile(String value)
Checks if the TestPlanFile is valid.String
getDisplayName()
String
getHelpFile()
ClifInstallation[]
getInstallations()
ClifInstallation.DescriptorImpl
getToolDescriptor()
Gets theClifInstallation.DescriptorImpl
instance.boolean
isApplicable(Class<? extends AbstractProject> jobType)
void
setInstallations(ClifInstallation... clifInstallations)
-
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, getGlobalConfigPage, getGlobalPropertyType, 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
-
-
-
-
Constructor Detail
-
DescriptorImpl
public DescriptorImpl()
-
DescriptorImpl
protected DescriptorImpl(Class<? extends ClifBuilder> clazz)
-
-
Method Detail
-
getToolDescriptor
public ClifInstallation.DescriptorImpl getToolDescriptor()
Gets theClifInstallation.DescriptorImpl
instance.- Returns:
- the
ClifInstallation.DescriptorImpl
instance
-
isApplicable
public boolean isApplicable(Class<? extends AbstractProject> jobType)
- Specified by:
isApplicable
in classBuildStepDescriptor<Builder>
-
getHelpFile
public String getHelpFile()
- Overrides:
getHelpFile
in classDescriptor<Builder>
-
getDisplayName
public String getDisplayName()
- Overrides:
getDisplayName
in classDescriptor<Builder>
-
getInstallations
public ClifInstallation[] getInstallations()
-
setInstallations
public void setInstallations(ClifInstallation... clifInstallations)
-
doCheckReportDir
public FormValidation doCheckReportDir(@QueryParameter String value)
Checks if the ReportDir is valid.- Parameters:
value
- the path to CLIF report directory- Returns:
- validation result (ok or error)
-
doCheckTestPlanFile
public FormValidation doCheckTestPlanFile(@QueryParameter String value)
Checks if the TestPlanFile is valid.- Parameters:
value
- the test plan file- Returns:
- validation result (ok or error)
-
-