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()protectedDescriptorImpl(Class<? extends ClifBuilder> clazz)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FormValidationdoCheckReportDir(String value)Checks if the ReportDir is valid.FormValidationdoCheckTestPlanFile(String value)Checks if the TestPlanFile is valid.StringgetDisplayName()StringgetHelpFile()ClifInstallation[]getInstallations()ClifInstallation.DescriptorImplgetToolDescriptor()Gets theClifInstallation.DescriptorImplinstance.booleanisApplicable(Class<? extends AbstractProject> jobType)voidsetInstallations(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.DescriptorImplinstance.- Returns:
- the
ClifInstallation.DescriptorImplinstance
-
isApplicable
public boolean isApplicable(Class<? extends AbstractProject> jobType)
- Specified by:
isApplicablein classBuildStepDescriptor<Builder>
-
getHelpFile
public String getHelpFile()
- Overrides:
getHelpFilein classDescriptor<Builder>
-
getDisplayName
public String getDisplayName()
- Overrides:
getDisplayNamein 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)
-
-