Class LabelAutoCompleteSeeder

java.lang.Object
jenkins.model.labels.LabelAutoCompleteSeeder

@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public class LabelAutoCompleteSeeder extends Object
Utility class for taking the current input value and computing a list of potential terms to match against the list of defined labels.
  • Constructor Details

    • LabelAutoCompleteSeeder

      public LabelAutoCompleteSeeder(@NonNull String source)
      Creates a new auto-complete seeder for labels.
      Parameters:
      source - The (partial) label expression to use as the source..
  • Method Details

    • getSeeds

      @NonNull public List<String> getSeeds()
      Gets a list of seeds for label auto-completion.
      Returns:
      A list of seeds for label auto-completion.