Class WorkspaceDescriptor
- java.lang.Object
-
- hudson.model.Descriptor<Workspace>
-
- org.jenkinsci.plugins.p4.workspace.WorkspaceDescriptor
-
- Direct Known Subclasses:
ManualWorkspaceImpl.DescriptorImpl
,SpecWorkspaceImpl.DescriptorImpl
,StaticWorkspaceImpl.DescriptorImpl
,StreamWorkspaceImpl.DescriptorImpl
,TemplateWorkspaceImpl.DescriptorImpl
public abstract class WorkspaceDescriptor extends Descriptor<Workspace>
-
-
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 Modifier Constructor Description protected
WorkspaceDescriptor()
WorkspaceDescriptor(Class<? extends Workspace> clazz)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AutoCompletionCandidates
autoCompleteName(String value)
static FormValidation
checkClientName(String value)
static AutoCompletionCandidates
doAutoCompleteStreamName(String value)
static AutoCompletionCandidates
doAutoCompleteTemplateName(String value)
Provides auto-completion for workspace names.static FormValidation
doCheckFormat(String value)
static FormValidation
doCheckStreamName(String value)
static ListBoxModel
doFillCharsetItems()
-
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
-
checkClientName
public static FormValidation checkClientName(String value)
-
autoCompleteName
public static AutoCompletionCandidates autoCompleteName(@QueryParameter String value)
-
doFillCharsetItems
public static ListBoxModel doFillCharsetItems()
-
doAutoCompleteStreamName
public static AutoCompletionCandidates doAutoCompleteStreamName(@QueryParameter String value)
-
doAutoCompleteTemplateName
public static AutoCompletionCandidates doAutoCompleteTemplateName(@QueryParameter String value)
Provides auto-completion for workspace names. Stapler finds this method via the naming convention.- Parameters:
value
- The text that the user entered.- Returns:
- suggestion
-
doCheckStreamName
public static FormValidation doCheckStreamName(@QueryParameter String value)
-
doCheckFormat
public static FormValidation doCheckFormat(@QueryParameter String value)
-
-