java.lang.Object
org.elasticsearch.xpack.core.ml.job.groups.GroupOrJobLookup

public class GroupOrJobLookup extends Object
A lookup that allows expanding expressions that may consist of job IDs, job group names, wildcard patterns or a comma separated combination of the aforementioned to the matching job IDs. The lookup is immutable.
  • Constructor Details

    • GroupOrJobLookup

      public GroupOrJobLookup(Collection<Job> jobs)
  • Method Details

    • expandJobIds

      public Set<String> expandJobIds(String expression, boolean allowNoMatch)
    • isGroupOrJob

      public boolean isGroupOrJob(String id)