Package com.calm.Descriptors
Class BlueprintLaunch.BlueprintLaunchDescriptorImpl
- java.lang.Object
-
- hudson.model.Descriptor<T>
-
- hudson.tasks.BuildStepDescriptor<Builder>
-
- com.calm.Descriptors.BlueprintLaunch.BlueprintLaunchDescriptorImpl
-
- Enclosing class:
- BlueprintLaunch
@Extension public static final class BlueprintLaunch.BlueprintLaunchDescriptorImpl 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 Constructor Description BlueprintLaunchDescriptorImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanconfigure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData)StringcreateEditorId()ListBoxModeldoFillActionNameItems(String actionName)ListBoxModeldoFillAppProfileNameItems(String appProfileName)ListBoxModeldoFillBlueprintNameItems(String blueprintName)ListBoxModeldoFillProjectNameItems(String projectName)List<String>fetchAppProfiles(String blueprintName)StringfetchBlueprintDescription(String blueprintName)List<String>fetchBlueprints(String projectName)List<String>fetchProfileActions(String blueprintName, String appProfileName)List<String>fetchProjects()StringfetchRuntimeProfileVariables(String blueprintName, String appProfileName)StringgetDisplayName()booleanisApplicable(Class<? extends AbstractProject> aClass)-
Methods inherited from class hudson.tasks.BuildStepDescriptor
filter
-
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, 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, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
-
-
-
Method Detail
-
isApplicable
public boolean isApplicable(Class<? extends AbstractProject> aClass)
- Specified by:
isApplicablein classBuildStepDescriptor<Builder>
-
getDisplayName
public String getDisplayName()
- Overrides:
getDisplayNamein classDescriptor<Builder>
-
configure
public boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) throws Descriptor.FormException- Overrides:
configurein classDescriptor<Builder>- Throws:
Descriptor.FormException
-
createEditorId
@JavaScriptMethod public String createEditorId()
-
fetchProjects
@JavaScriptMethod public List<String> fetchProjects() throws Exception
- Throws:
Exception
-
fetchBlueprints
@JavaScriptMethod public List<String> fetchBlueprints(String projectName) throws Exception
- Throws:
Exception
-
fetchAppProfiles
@JavaScriptMethod public List<String> fetchAppProfiles(String blueprintName) throws Exception
- Throws:
Exception
-
fetchProfileActions
@JavaScriptMethod public List<String> fetchProfileActions(String blueprintName, String appProfileName) throws Exception
- Throws:
Exception
-
fetchRuntimeProfileVariables
@JavaScriptMethod public String fetchRuntimeProfileVariables(String blueprintName, String appProfileName) throws Exception
- Throws:
Exception
-
fetchBlueprintDescription
@JavaScriptMethod public String fetchBlueprintDescription(String blueprintName)
-
doFillProjectNameItems
public ListBoxModel doFillProjectNameItems(@QueryParameter("projectName") String projectName)
-
doFillBlueprintNameItems
public ListBoxModel doFillBlueprintNameItems(@QueryParameter("blueprintName") String blueprintName)
-
doFillAppProfileNameItems
public ListBoxModel doFillAppProfileNameItems(@QueryParameter("appProfileName") String appProfileName)
-
doFillActionNameItems
public ListBoxModel doFillActionNameItems(@QueryParameter("actionName") String actionName)
-
-