Package jenkins.model

Class ProjectNamingStrategy.PatternProjectNamingStrategy

    • Constructor Detail

      • PatternProjectNamingStrategy

        @Deprecated
        public PatternProjectNamingStrategy​(String namePattern,
                                            boolean forceExistingJobs)
        Deprecated.
      • PatternProjectNamingStrategy

        @DataBoundConstructor
        public PatternProjectNamingStrategy​(String namePattern,
                                            String description,
                                            boolean forceExistingJobs)
        Since:
        1.533
    • Method Detail

      • getNamePattern

        public String getNamePattern()
      • getDescription

        public String getDescription()
        Since:
        1.533
      • isForceExistingJobs

        public boolean isForceExistingJobs()
        Description copied from class: ProjectNamingStrategy
        This flag can be used to force existing jobs to be migrated to a new naming strategy - if this method returns true, the naming will be enforced at every config change. If false is returned, only new jobs have to follow the strategy.
        Overrides:
        isForceExistingJobs in class ProjectNamingStrategy
        Returns:
        true if existing jobs should be enforced to confirm to the naming standard.