Package jenkins.model
Class ProjectNamingStrategy.DefaultProjectNamingStrategy
java.lang.Object
jenkins.model.ProjectNamingStrategy
jenkins.model.ProjectNamingStrategy.DefaultProjectNamingStrategy
- All Implemented Interfaces:
ExtensionPoint
,Describable<ProjectNamingStrategy>
,Serializable
- Enclosing class:
- ProjectNamingStrategy
public static final class ProjectNamingStrategy.DefaultProjectNamingStrategy
extends ProjectNamingStrategy
implements Serializable
Default implementation which does not restrict the name to any form.
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Nested classes/interfaces inherited from class jenkins.model.ProjectNamingStrategy
ProjectNamingStrategy.DefaultProjectNamingStrategy, ProjectNamingStrategy.PatternProjectNamingStrategy, ProjectNamingStrategy.ProjectNamingStrategyDescriptor
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Field Summary
Fields inherited from class jenkins.model.ProjectNamingStrategy
DEFAULT_NAMING_STRATEGY
-
Constructor Summary
-
Method Summary
Methods inherited from class jenkins.model.ProjectNamingStrategy
all, checkName, getDescriptor, isForceExistingJobs
-
Constructor Details
-
DefaultProjectNamingStrategy
@DataBoundConstructor public DefaultProjectNamingStrategy()
-
-
Method Details
-
checkName
Description copied from class:ProjectNamingStrategy
Called when creating a new job.- Overrides:
checkName
in classProjectNamingStrategy
- Parameters:
origName
- the name given from the UI- Throws:
Failure
- if the user has to be informed about an illegal name, forces the user to change the name before submitting. The message of the failure will be presented to the user.
-