@Extension
public static final class XLReleaseNotifier.XLReleaseDescriptor
extends hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>
Modifier and Type | Field and Description |
---|---|
java.lang.String |
lastCredential |
Credential |
lastOverridingCredential |
Constructor and Description |
---|
XLReleaseDescriptor() |
Modifier and Type | Method and Description |
---|---|
boolean |
configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject json) |
hudson.model.AutoCompletionCandidates |
doAutoCompleteTemplate(java.lang.String value,
hudson.model.AbstractProject project,
hudson.model.Item item) |
hudson.util.FormValidation |
doCheckCredential(java.lang.String credential,
hudson.model.Item item) |
hudson.util.FormValidation |
doCheckXLReleaseClientProxyUrl(java.lang.String xlReleaseClientProxyUrl) |
hudson.util.FormValidation |
doCheckXLReleaseServerUrl(java.lang.String xlReleaseServerUrl) |
hudson.util.ListBoxModel |
doFillCredentialItems(hudson.model.Item item) |
hudson.util.ListBoxModel |
doFillCredentialsIdItems(hudson.model.ItemGroup context,
hudson.model.Item item) |
hudson.util.FormValidation |
doReloadTemplates(java.lang.String credential,
boolean overridingCredential,
hudson.model.AbstractProject project,
hudson.model.Item item) |
hudson.util.FormValidation |
doValidateTemplate(java.lang.String credential,
boolean overridingCredential,
java.lang.String template,
hudson.model.AbstractProject project,
hudson.model.Item item) |
Credential |
findCredential(java.lang.String credentialName) |
Credential |
getCombinedCredential(java.lang.String credentialName,
Credential overridingCredential) |
java.util.List<Credential> |
getCredentials() |
java.lang.String |
getDisplayName() |
int |
getNumberOfVariables(java.lang.String credential,
boolean overridingCredential,
java.lang.String username,
java.lang.String password,
boolean useGlobalCredential,
java.lang.String credentialsId,
java.lang.String template) |
java.util.Map<java.lang.String,java.lang.String> |
getVariablesOf(java.lang.String credential,
Credential overridingCredential,
java.lang.String template) |
java.lang.String |
getXlReleaseClientProxyUrl() |
XLReleaseServerConnector |
getXLReleaseServer(Credential credential,
hudson.model.Job<?,?> project) |
java.lang.String |
getXlReleaseServerUrl() |
boolean |
isApplicable(java.lang.Class<? extends hudson.model.AbstractProject> jobType) |
void |
load() |
hudson.tasks.Publisher |
newInstance(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData) |
void |
setCredentials(java.util.List<Credential> credentials) |
void |
setXlReleaseClientProxyUrl(java.lang.String url) |
static void |
setXlReleaseServerFactory(XLReleaseServerFactory xlReleaseServerFactory) |
void |
setXlReleaseServerUrl(java.lang.String url) |
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, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
public transient java.lang.String lastCredential
public transient Credential lastOverridingCredential
public XLReleaseServerConnector getXLReleaseServer(Credential credential, hudson.model.Job<?,?> project)
public boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject json) throws hudson.model.Descriptor.FormException
configure
in class hudson.model.Descriptor<hudson.tasks.Publisher>
hudson.model.Descriptor.FormException
public boolean isApplicable(java.lang.Class<? extends hudson.model.AbstractProject> jobType)
isApplicable
in class hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>
public java.lang.String getDisplayName()
getDisplayName
in class hudson.model.Descriptor<hudson.tasks.Publisher>
public void load()
load
in class hudson.model.Descriptor<hudson.tasks.Publisher>
public hudson.util.FormValidation doCheckXLReleaseServerUrl(@QueryParameter java.lang.String xlReleaseServerUrl)
public hudson.util.FormValidation doCheckXLReleaseClientProxyUrl(@QueryParameter java.lang.String xlReleaseClientProxyUrl)
@POST public hudson.util.FormValidation doValidateTemplate(@QueryParameter java.lang.String credential, @QueryParameter boolean overridingCredential, @QueryParameter java.lang.String template, @AncestorInPath hudson.model.AbstractProject project, @AncestorInPath hudson.model.Item item)
public hudson.model.AutoCompletionCandidates doAutoCompleteTemplate(@QueryParameter java.lang.String value, @AncestorInPath hudson.model.AbstractProject project, @AncestorInPath hudson.model.Item item)
@POST public hudson.util.FormValidation doReloadTemplates(@QueryParameter java.lang.String credential, @QueryParameter boolean overridingCredential, @AncestorInPath hudson.model.AbstractProject project, @AncestorInPath hudson.model.Item item)
public java.util.List<Credential> getCredentials()
public void setCredentials(java.util.List<Credential> credentials)
public java.lang.String getXlReleaseServerUrl()
public void setXlReleaseServerUrl(java.lang.String url)
public java.lang.String getXlReleaseClientProxyUrl()
public void setXlReleaseClientProxyUrl(java.lang.String url)
public hudson.util.ListBoxModel doFillCredentialItems(@AncestorInPath hudson.model.Item item)
public hudson.util.ListBoxModel doFillCredentialsIdItems(@AncestorInPath hudson.model.ItemGroup context, @AncestorInPath hudson.model.Item item)
@POST public hudson.util.FormValidation doCheckCredential(@QueryParameter java.lang.String credential, @AncestorInPath hudson.model.Item item)
public hudson.tasks.Publisher newInstance(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) throws hudson.model.Descriptor.FormException
newInstance
in class hudson.model.Descriptor<hudson.tasks.Publisher>
hudson.model.Descriptor.FormException
public Credential getCombinedCredential(java.lang.String credentialName, Credential overridingCredential)
public Credential findCredential(java.lang.String credentialName)
public java.util.Map<java.lang.String,java.lang.String> getVariablesOf(java.lang.String credential, Credential overridingCredential, java.lang.String template)
public int getNumberOfVariables(@QueryParameter java.lang.String credential, @QueryParameter boolean overridingCredential, @QueryParameter java.lang.String username, @QueryParameter java.lang.String password, @QueryParameter boolean useGlobalCredential, @QueryParameter java.lang.String credentialsId, @QueryParameter java.lang.String template)
public static void setXlReleaseServerFactory(XLReleaseServerFactory xlReleaseServerFactory)