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 java.lang.Object
Base class for all target types
-
-
Field Summary
Fields Modifier and Type Field Description protected T
target
protected TargetType
type
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractTarget(TargetType type, T target)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.Object>
getProps()
T
getTarget()
TargetType
getType()
-
-
-
Field Detail
-
target
protected final T target
-
type
protected final TargetType type
-
-
Constructor Detail
-
AbstractTarget
protected AbstractTarget(TargetType type, T target)
-
-
Method Detail
-
getTarget
public T getTarget()
-
getType
public TargetType getType()
-
getProps
public java.util.Map<java.lang.String,java.lang.Object> getProps()
- Returns:
- a map of items to include in the API call payload
-
-