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 FormValidation
doCheckHome(File value)
Checks if the CLIF_HOME is valid.FormValidation
doCheckInstallation(File home, String schedulerURL, File schedulerCredentialsFile, String schedulerLogin, String schedulerPassword)
FormValidation
doCheckName(String value)
FormValidation
doCheckSchedulerURL(String value)
Checks if the Scheduler url is valid.String
getDisplayName()
ClifInstallation[]
getInstallations()
void
setInstallations(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:
getDisplayName
in classDescriptor<ToolInstallation>
-
getInstallations
public ClifInstallation[] getInstallations()
- Overrides:
getInstallations
in classToolDescriptor<ClifInstallation>
-
setInstallations
public void setInstallations(ClifInstallation... installations)
- Overrides:
setInstallations
in classToolDescriptor<ClifInstallation>
-
doCheckHome
public FormValidation doCheckHome(@QueryParameter File value)
Checks if the CLIF_HOME is valid.- Overrides:
doCheckHome
in 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:
doCheckName
in 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)
-
-