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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.Object>getProps()Return the properties that belong in a request body.TgetTarget()Return the target.TargetTypegetType()Return the target type.
-
-
-
Method Detail
-
getTarget
T getTarget()
Return the target.- Returns:
- the target
-
getType
TargetType getType()
Return the target type.- Returns:
- the target type
-
getProps
java.util.Map<java.lang.String,java.lang.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
-
-