Package com.openshift.jenkins.plugins
Class OpenShift.DescriptorImpl
- Enclosing class:
- OpenShift
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self -
Field Summary
FieldsFields inherited from class hudson.model.Descriptor
clazz -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddClusterConfig(ClusterConfig clusterConfig) booleanconfigure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject json) getClusterConfig(String name) Determines if a cluster has been configured with a given name.voidremoveClusterConfig(ClusterConfig clusterConfig) voidsetClusterConfigs(List<ClusterConfig> configs) Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, doHelp, find, find, findByDescribableClassName, findById, getCategory, 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
-
Field Details
-
clusterConfigs
-
ocTool
-
-
Constructor Details
-
DescriptorImpl
public DescriptorImpl()
-
-
Method Details
-
getDisplayName
- Overrides:
getDisplayNamein classDescriptor<OpenShift>
-
getClientToolName
-
removeClusterConfig
- Throws:
IllegalArgumentException
-
addClusterConfig
-
configure
public boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject json) throws Descriptor.FormException - Overrides:
configurein classDescriptor<OpenShift>- Throws:
Descriptor.FormException
-
doFillLogLevelItems
-
getClusterConfigs
-
setClusterConfigs
-
getClusterConfig
Determines if a cluster has been configured with a given name. If a cluster has been configured with the name, its definition is returned.- Parameters:
name- The name of the cluster config to find- Returns:
- A ClusterConfig for the supplied parameters OR null.
-