Package org.ow2.clif.jenkins
Class ClifInstallation.DescriptorImpl
- java.lang.Object
-
- hudson.model.Descriptor<ToolInstallation>
-
- hudson.tools.ToolDescriptor<ClifInstallation>
-
- org.ow2.clif.jenkins.ClifInstallation.DescriptorImpl
-
- Enclosing class:
- ClifInstallation
@Extension public static class ClifInstallation.DescriptorImpl extends ToolDescriptor<ClifInstallation>
-
-
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 Instance Methods Concrete Methods Modifier and Type Method Description FormValidationdoCheckHome(File value)Checks if the CLIF_HOME is valid.FormValidationdoCheckInstallation(File home, String schedulerURL, File schedulerCredentialsFile, String schedulerLogin, String schedulerPassword)FormValidationdoCheckName(String value)FormValidationdoCheckSchedulerURL(String value)Checks if the Scheduler url is valid.StringgetDisplayName()ClifInstallation[]getInstallations()voidsetInstallations(ClifInstallation... installations)-
Methods inherited from class hudson.tools.ToolDescriptor
checkHomeDirectory, configure, getCategory, getDefaultInstallers, getDefaultProperties, getPropertyDescriptors
-
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, findByDescribableClassName, findById, 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
-
getDisplayName
public String getDisplayName()
- Overrides:
getDisplayNamein classDescriptor<ToolInstallation>
-
getInstallations
public ClifInstallation[] getInstallations()
- Overrides:
getInstallationsin classToolDescriptor<ClifInstallation>
-
setInstallations
public void setInstallations(ClifInstallation... installations)
- Overrides:
setInstallationsin classToolDescriptor<ClifInstallation>
-
doCheckHome
public FormValidation doCheckHome(@QueryParameter File value)
Checks if the CLIF_HOME is valid.- Overrides:
doCheckHomein classToolDescriptor<ClifInstallation>- Parameters:
value- file object representing the path to the home directory of a CLIF installation- Returns:
- validation result (ok or error)
-
doCheckName
public FormValidation doCheckName(@QueryParameter String value)
- Overrides:
doCheckNamein classToolDescriptor<ClifInstallation>
-
doCheckSchedulerURL
public FormValidation doCheckSchedulerURL(@QueryParameter String value)
Checks if the Scheduler url is valid.- Parameters:
value- scheduler URL, as a string- Returns:
- validation result (ok or error)
-
-