@Extension @Symbol(value="perforce") public static class PerforceScm.DescriptorImpl extends hudson.scm.SCMDescriptor<PerforceScm>
Constructor and Description |
---|
DescriptorImpl()
public no-argument constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject json)
The configure method is invoked when the global configuration page is
submitted.
|
hudson.util.FormValidation |
doCheckCredential(hudson.model.Item project,
String value)
Credentials list, a Jelly config method for a build job.
|
hudson.util.ListBoxModel |
doFillCredentialItems(hudson.model.Item project,
String credential)
Credentials list, a Jelly config method for a build job.
|
String |
getClientName() |
String |
getCredential() |
String |
getDepotPath() |
String |
getDisplayName()
Returns the name of the SCM, this is the name that will show up next
to CVS and Subversion when configuring a job.
|
long |
getHeadLimit() |
int |
getMaxChanges() |
int |
getMaxFiles() |
boolean |
isApplicable(hudson.model.Job project) |
boolean |
isAutoSave() |
boolean |
isAutoSubmitOnChange() |
boolean |
isDeleteClient() |
boolean |
isDeleteFiles() |
boolean |
isHideMessages() |
boolean |
isHideTicket() |
boolean |
isLastSuccess() |
hudson.scm.SCM |
newInstance(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData) |
void |
setLastSuccess(boolean lastSuccess) |
getBrowserDescriptors, isApplicable, isBrowserReusable, load
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, getT, getViewPage, isInstance, isSubTypeOf, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
public boolean isAutoSave()
public String getCredential()
public String getClientName()
public String getDepotPath()
public boolean isAutoSubmitOnChange()
public boolean isDeleteClient()
public boolean isDeleteFiles()
public boolean isHideTicket()
public boolean isHideMessages()
public int getMaxFiles()
public int getMaxChanges()
public long getHeadLimit()
public boolean isLastSuccess()
public void setLastSuccess(boolean lastSuccess)
public String getDisplayName()
getDisplayName
in class hudson.model.Descriptor<hudson.scm.SCM>
public boolean isApplicable(hudson.model.Job project)
isApplicable
in class hudson.scm.SCMDescriptor<PerforceScm>
public hudson.scm.SCM newInstance(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) throws hudson.model.Descriptor.FormException
newInstance
in class hudson.model.Descriptor<hudson.scm.SCM>
hudson.model.Descriptor.FormException
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.scm.SCM>
hudson.model.Descriptor.FormException
public hudson.util.ListBoxModel doFillCredentialItems(@AncestorInPath hudson.model.Item project, @QueryParameter String credential)
project
- Jenkins project itemcredential
- Perforce credential IDpublic hudson.util.FormValidation doCheckCredential(@AncestorInPath hudson.model.Item project, @QueryParameter String value)
project
- Jenkins project itemvalue
- credential user input valueCopyright © 2016–2021. All rights reserved.