Package com.calm.Descriptors
Class RunApplicationAction.RunActionDescriptorImpl
- java.lang.Object
-
- hudson.model.Descriptor<T>
-
- hudson.tasks.BuildStepDescriptor<Builder>
-
- com.calm.Descriptors.RunApplicationAction.RunActionDescriptorImpl
-
- Enclosing class:
- RunApplicationAction
@Extension public static final class RunApplicationAction.RunActionDescriptorImpl 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 RunActionDescriptorImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData)
String
createEditorId()
ListBoxModel
doFillActionNameItems(String actionName)
ListBoxModel
doFillApplicationNameItems(String applicationName)
List<String>
fetchApplicationActions(String applicationName)
List<String>
fetchApplications()
String
fetchRuntimeProfileActionVariables(String applicationName, String actionName)
String
getDisplayName()
List<String>
getProfileActionsFromBlueprint(String blueprintName, String appProfileName)
String
getProfileActionsVariablesFromBlueprint(String blueprintName, String appProfileName, String actionName)
boolean
isApplicable(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:
isApplicable
in classBuildStepDescriptor<Builder>
-
getDisplayName
public String getDisplayName()
- Overrides:
getDisplayName
in classDescriptor<Builder>
-
configure
public boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) throws Descriptor.FormException
- Overrides:
configure
in classDescriptor<Builder>
- Throws:
Descriptor.FormException
-
createEditorId
@JavaScriptMethod public String createEditorId()
-
fetchApplications
@JavaScriptMethod public List<String> fetchApplications() throws Exception
- Throws:
Exception
-
fetchApplicationActions
@JavaScriptMethod public List<String> fetchApplicationActions(String applicationName) throws Exception
- Throws:
Exception
-
fetchRuntimeProfileActionVariables
@JavaScriptMethod public String fetchRuntimeProfileActionVariables(String applicationName, String actionName) throws Exception
- Throws:
Exception
-
getProfileActionsFromBlueprint
@JavaScriptMethod public List<String> getProfileActionsFromBlueprint(String blueprintName, String appProfileName) throws Exception
- Throws:
Exception
-
getProfileActionsVariablesFromBlueprint
@JavaScriptMethod public String getProfileActionsVariablesFromBlueprint(String blueprintName, String appProfileName, String actionName) throws Exception
- Throws:
Exception
-
doFillApplicationNameItems
public ListBoxModel doFillApplicationNameItems(@QueryParameter("applicationName") String applicationName)
-
doFillActionNameItems
public ListBoxModel doFillActionNameItems(@QueryParameter("actionName") String actionName)
-
-