public static final class ProjectNamingStrategy.DefaultProjectNamingStrategy extends ProjectNamingStrategy implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
ProjectNamingStrategy.DefaultProjectNamingStrategy.DescriptorImpl |
ProjectNamingStrategy.DefaultProjectNamingStrategy, ProjectNamingStrategy.PatternProjectNamingStrategy, ProjectNamingStrategy.ProjectNamingStrategyDescriptor
ExtensionPoint.LegacyInstancesAreScopedToHudson
DEFAULT_NAMING_STRATEGY
Constructor and Description |
---|
DefaultProjectNamingStrategy() |
Modifier and Type | Method and Description |
---|---|
void |
checkName(String origName)
Called when creating a new job.
|
all, getDescriptor, isForceExistingJobs
@DataBoundConstructor public DefaultProjectNamingStrategy()
public void checkName(String origName) throws Failure
ProjectNamingStrategy
checkName
in class ProjectNamingStrategy
origName
- the name given from the UIFailure
- 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.Copyright © 2004–2022. All rights reserved.