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.ProjectNamingStrategyDescriptorExtensionPoint.LegacyInstancesAreScopedToHudsonDEFAULT_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
ProjectNamingStrategycheckName in class ProjectNamingStrategyorigName - 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 © 2019. All rights reserved.