Package jenkins.model

Class ProjectNamingStrategy.DefaultProjectNamingStrategy

    • Constructor Detail

      • DefaultProjectNamingStrategy

        public DefaultProjectNamingStrategy()
    • Method Detail

      • checkName

        public void checkName​(String origName)
                       throws Failure
        Description copied from class: ProjectNamingStrategy
        Called when creating a new job.
        checkName in class ProjectNamingStrategy
        origName - the name given from the UI
        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.