Interface Target<T>

Type Parameters:
T - Type of tgt property when making a request
All Known Subinterfaces:
SSHTarget<T>
All Known Implementing Classes:
Compound, Glob, Grains, GrainsRegEx, IPCidr, MinionList, NodeGroup, Pillar, PillarExact, PillarRegEx, Range, RegEx

public interface Target<T>
Target interface for specifying a group of minions.
  • Method Summary

    Modifier and Type
    Method
    Description
    Return the properties that belong in a request body.
    Return the target.
    Return the target type.
  • Method Details

    • getTarget

      T getTarget()
      Return the target.
      Returns:
      the target
    • getType

      TargetType getType()
      Return the target type.
      Returns:
      the target type
    • getProps

      Map<String,Object> getProps()
      Return the properties that belong in a request body. This will include the `tgt` and `tgt_type` properties. and optionally the `delimiter` property.
      Returns:
      a map of property keys and values