Class DisplayNameRunFilter

All Implemented Interfaces:
ExtensionPoint, Describable<RunFilter>

public class DisplayNameRunFilter extends RunFilter
Filters the build based on its display name.
Author:
Alexandru Somai
  • Constructor Details

    • DisplayNameRunFilter

      @DataBoundConstructor public DisplayNameRunFilter(String runDisplayName)
  • Method Details

    • getRunDisplayName

      @NonNull public String getRunDisplayName()
    • isSelectable

      public boolean isSelectable(@NonNull Run<?,?> candidate, @NonNull RunSelectorContext context)
      Overrides:
      isSelectable in class RunFilter
      Parameters:
      candidate - the build to check
      context - the context of current runselector execution.
      Returns:
      whether this build can be selected.