Package io.jenkins.plugins
Class ProvarAutomation.DescriptorImpl
- java.lang.Object
-
- hudson.model.Descriptor<T>
-
- hudson.tasks.BuildStepDescriptor<Builder>
-
- io.jenkins.plugins.ProvarAutomation.DescriptorImpl
-
- Enclosing class:
- ProvarAutomation
@Symbol("provarAutomation") @Extension public static final class ProvarAutomation.DescriptorImpl extends BuildStepDescriptor<Builder>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
-
-
Field Summary
Fields Modifier and Type Field Description static ProvarAutomation.Browser
defaultBrowser
static String
defaultBuildFile
static String
defaultEnvironment
static String
defaultLicensePath
static String
defaultProjectName
static String
defaultProvarAutomationName
static ProvarAutomation.ResultsPathSettings
defaultResultsPathSetting
static ProvarAutomation.SalesforceMetadataCacheSettings
defaultSalesforceMetadataCacheSetting
static String
defaultTestFolder
static String
defaultTestPlan
-
Fields inherited from class hudson.model.Descriptor
clazz
-
-
Constructor Summary
Constructors Constructor Description DescriptorImpl()
-
Method Summary
-
Methods inherited from class hudson.tasks.BuildStepDescriptor
filter
-
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, 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
-
-
-
-
Field Detail
-
defaultProvarAutomationName
public static final String defaultProvarAutomationName
- See Also:
- Constant Field Values
-
defaultProjectName
public static final String defaultProjectName
- See Also:
- Constant Field Values
-
defaultBuildFile
public static final String defaultBuildFile
- See Also:
- Constant Field Values
-
defaultBrowser
public static final ProvarAutomation.Browser defaultBrowser
-
defaultEnvironment
public static final String defaultEnvironment
- See Also:
- Constant Field Values
-
defaultTestPlan
public static final String defaultTestPlan
- See Also:
- Constant Field Values
-
defaultTestFolder
public static final String defaultTestFolder
- See Also:
- Constant Field Values
-
defaultLicensePath
public static final String defaultLicensePath
-
defaultSalesforceMetadataCacheSetting
public static final ProvarAutomation.SalesforceMetadataCacheSettings defaultSalesforceMetadataCacheSetting
-
defaultResultsPathSetting
public static final ProvarAutomation.ResultsPathSettings defaultResultsPathSetting
-
-
Method Detail
-
getToolDescriptor
public ProvarAutomation.ProvarAutomationInstallation.DescriptorImpl getToolDescriptor()
Obtains theProvarAutomation.ProvarAutomationInstallation.DescriptorImpl
instance.
-
getInstallations
public ProvarAutomation.ProvarAutomationInstallation[] getInstallations()
-
setInstallations
public void setInstallations(ProvarAutomation.ProvarAutomationInstallation... provarAutomationInstallations)
-
doCheckBuildFile
@POST public FormValidation doCheckBuildFile(@QueryParameter String value) throws IOException, javax.servlet.ServletException
- Throws:
IOException
javax.servlet.ServletException
-
doCheckTestPlan
@POST public FormValidation doCheckTestPlan(@QueryParameter String value) throws IOException, javax.servlet.ServletException
- Throws:
IOException
javax.servlet.ServletException
-
doCheckTestFolder
@POST public FormValidation doCheckTestFolder(@QueryParameter String value) throws IOException, javax.servlet.ServletException
- Throws:
IOException
javax.servlet.ServletException
-
doCheckSecretsPassword
@POST public FormValidation doCheckSecretsPassword(@QueryParameter String value) throws IOException, javax.servlet.ServletException
- Throws:
IOException
javax.servlet.ServletException
-
doCheckProjectName
@POST public FormValidation doCheckProjectName(@QueryParameter String value) throws IOException, javax.servlet.ServletException
- Throws:
IOException
javax.servlet.ServletException
-
doCheckLicensePath
@POST public FormValidation doCheckLicensePath(@QueryParameter String value) throws IOException, javax.servlet.ServletException
- Throws:
IOException
javax.servlet.ServletException
-
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 json) throws Descriptor.FormException
- Overrides:
configure
in classDescriptor<Builder>
- Throws:
Descriptor.FormException
-
doFillBrowserItems
@POST public ListBoxModel doFillBrowserItems()
-
doFillSalesforceMetadataCacheSettingItems
@POST public ListBoxModel doFillSalesforceMetadataCacheSettingItems()
-
doFillResultsPathSettingItems
@POST public ListBoxModel doFillResultsPathSettingItems()
-
-