Class Modifier
- java.lang.Object
-
- de.fraunhofer.iese.mydata.common.MyDataEntity
-
- de.fraunhofer.iese.mydata.policy.decision.Modifier
-
public class Modifier extends MyDataEntity
A modifier describes a method that can be performed on events. Despite a key and value, it also contains an engine.- Author:
- Fraunhofer IESE
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addEngine(ModifierEngine engine)
Adds the engine.-
Methods inherited from class de.fraunhofer.iese.mydata.common.MyDataEntity
fromJson, getGson, getGson, toJson, toString, validate, validateAndNullCheck
-
-
-
-
Constructor Detail
-
Modifier
public Modifier(String name)
Instantiates a new modifier.- Parameters:
name
- the name
-
Modifier
public Modifier(String name, List<ModifierEngine> engine)
Instantiates a new modifier.- Parameters:
name
- the name of the parameterengine
- the engine to be used
-
-
Method Detail
-
addEngine
public void addEngine(ModifierEngine engine)
Adds the engine.- Parameters:
engine
- the engine to set
-
-