Class AbstractTarget<T>

java.lang.Object
com.suse.salt.netapi.datatypes.target.AbstractTarget<T>
Type Parameters:
T - The data type of the target class
Direct Known Subclasses:
Compound, DictionaryTarget, Glob, IPCidr, MinionList, NodeGroup, Range, RegEx

abstract class AbstractTarget<T> extends Object
Base class for all target types
  • Field Details

    • target

      protected final T target
    • type

      protected final TargetType type
  • Constructor Details

    • AbstractTarget

      protected AbstractTarget(TargetType type, T target)
  • Method Details

    • getTarget

      public T getTarget()
    • getType

      public TargetType getType()
    • getProps

      public Map<String,Object> getProps()
      Returns:
      a map of items to include in the API call payload