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:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ProjectNamingStrategy.DefaultProjectNamingStrategy.DescriptorImpl
-
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
Constructors Constructor Description DefaultProjectNamingStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
checkName(String origName)
Called when creating a new job.-
Methods inherited from class jenkins.model.ProjectNamingStrategy
all, checkName, getDescriptor, isForceExistingJobs
-
-
-
-
Method Detail
-
checkName
public void checkName(String origName) throws Failure
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.
-
-