Package org.jenkinsci.plugins.p4.scm
Class P4SCMSourceDescriptor
- java.lang.Object
-
- hudson.model.Descriptor<jenkins.scm.api.SCMSource>
-
- jenkins.scm.api.SCMSourceDescriptor
-
- org.jenkinsci.plugins.p4.scm.P4SCMSourceDescriptor
-
- Direct Known Subclasses:
BranchesScmSource.DescriptorImpl
,GlobalLibraryScmSource.DescriptorImpl
,GraphScmSource.DescriptorImpl
,StreamsScmSource.DescriptorImpl
,SwarmScmSource.DescriptorImpl
public abstract class P4SCMSourceDescriptor extends jenkins.scm.api.SCMSourceDescriptor
-
-
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 String
defaultFormat
-
Fields inherited from class hudson.model.Descriptor
clazz
-
-
Constructor Summary
Constructors Constructor Description P4SCMSourceDescriptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FormValidation
doCheckCredential(Item project, String value)
FormValidation
doCheckIncludes(String value)
ListBoxModel
doFillCharsetItems()
ListBoxModel
doFillCredentialItems(Item project, String credential)
Credentials list, a Jelly config method for a build job.List<Descriptor<RepositoryBrowser<?>>>
getBrowserDescriptors()
-
Methods inherited from class jenkins.scm.api.SCMSourceDescriptor
createCategories, forOwner, forOwner, forOwner, forOwner, getCategories, getIconClassName, getId, getPronoun, getTraitsDefaults, isApplicable, isUserInstantiable
-
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getDisplayName, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getStaticHelpUrl, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
-
-
-
Field Detail
-
defaultFormat
public static final String defaultFormat
- See Also:
- Constant Field Values
-
-
Method Detail
-
doFillCredentialItems
public ListBoxModel doFillCredentialItems(@AncestorInPath Item project, @QueryParameter String credential)
Credentials list, a Jelly config method for a build job.- Parameters:
project
- Jenkins project itemcredential
- Perforce credential ID- Returns:
- A list of Perforce credential items to populate the jelly Select list.
-
doCheckCredential
public FormValidation doCheckCredential(@AncestorInPath Item project, @QueryParameter String value)
-
doFillCharsetItems
public ListBoxModel doFillCharsetItems()
-
getBrowserDescriptors
public List<Descriptor<RepositoryBrowser<?>>> getBrowserDescriptors()
-
doCheckIncludes
public FormValidation doCheckIncludes(@QueryParameter String value)
-
-