Class OpenTasks.Descriptor

    • Constructor Detail

      • Descriptor

        public Descriptor()
        Creates the descriptor instance.
    • Method Detail

      • doCheckIncludePattern

        @POST
        public FormValidation doCheckIncludePattern​(@AncestorInPath
                                                    AbstractProject<?,​?> project,
                                                    @QueryParameter
                                                    String includePattern)
        Performs on-the-fly validation on the ant pattern for input files.
        Parameters:
        project - the project that is configured
        includePattern - the file pattern
        Returns:
        the validation result
      • doCheckExcludePattern

        @POST
        public FormValidation doCheckExcludePattern​(@AncestorInPath
                                                    AbstractProject<?,​?> project,
                                                    @QueryParameter
                                                    String excludePattern)
        Performs on-the-fly validation on the ant pattern for input files.
        Parameters:
        project - the project that is configured
        excludePattern - the file pattern
        Returns:
        the validation result
      • doCheckExample

        @POST
        public FormValidation doCheckExample​(@AncestorInPath
                                             AbstractProject<?,​?> project,
                                             @QueryParameter
                                             String example,
                                             @QueryParameter
                                             String high,
                                             @QueryParameter
                                             String normal,
                                             @QueryParameter
                                             String low,
                                             @QueryParameter
                                             boolean ignoreCase,
                                             @QueryParameter
                                             boolean asRegexp)
        Validates the example text that will be scanned for open tasks.
        Parameters:
        project - the project that is configured
        example - the text to be scanned for open tasks
        high - tag identifiers indicating high priority
        normal - tag identifiers indicating normal priority
        low - tag identifiers indicating low priority
        ignoreCase - if case should be ignored during matching
        asRegexp - if the identifiers should be treated as regular expression
        Returns:
        validation result