Package org.ow2.clif.jenkins
Class 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 -
Method Summary
Modifier and TypeMethodDescriptiondoCheckHome(File value) Checks if the CLIF_HOME is valid.doCheckInstallation(File home, String schedulerURL, File schedulerCredentialsFile, String schedulerLogin, String schedulerPassword) doCheckName(String value) doCheckSchedulerURL(String value) Checks if the Scheduler url is valid.voidsetInstallations(ClifInstallation... installations) Methods inherited from class hudson.tools.ToolDescriptor
checkHomeDirectory, configure, configure, getCategory, getDefaultInstallers, getDefaultProperties, getPropertyDescriptorsMethods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, 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, getStaticHelpUrl, getStaticHelpUrl, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Constructor Details
-
DescriptorImpl
public DescriptorImpl()
-
-
Method Details
-
getDisplayName
- Overrides:
getDisplayNamein classDescriptor<ToolInstallation>
-
getInstallations
- Overrides:
getInstallationsin classToolDescriptor<ClifInstallation>
-
setInstallations
- Overrides:
setInstallationsin classToolDescriptor<ClifInstallation>
-
doCheckHome
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
- Overrides:
doCheckNamein classToolDescriptor<ClifInstallation>
-
doCheckSchedulerURL
Checks if the Scheduler url is valid.- Parameters:
value- scheduler URL, as a string- Returns:
- validation result (ok or error)
-
doCheckInstallation
-