Class RegularInfluence
- java.lang.Object
-
- fr.univ_artois.lgi2a.similar.microkernel.influences.AbstractInfluence
-
- fr.univ_artois.lgi2a.similar.microkernel.influences.RegularInfluence
-
- All Implemented Interfaces:
IInfluence
public class RegularInfluence extends AbstractInfluence
Models a non-system and user-defined influence.- Author:
- Yoann Kubera
-
-
Constructor Summary
Constructors Constructor Description RegularInfluence(String category, LevelIdentifier targetLevel, SimulationTimeStamp timeLowerBound, SimulationTimeStamp timeUpperBound)
Builds a regular influence from a specific category.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isSystem()
Returnsfalse
, since this influence is a non-system influence.-
Methods inherited from class fr.univ_artois.lgi2a.similar.microkernel.influences.AbstractInfluence
getCategory, getTargetLevel, getTimeLowerBound, getTimeUpperBound, toString
-
-
-
-
Constructor Detail
-
RegularInfluence
public RegularInfluence(String category, LevelIdentifier targetLevel, SimulationTimeStamp timeLowerBound, SimulationTimeStamp timeUpperBound)
Builds a regular influence from a specific category. The reaction to this influence will be managed into a specific target level.- Parameters:
category
- The category of the influence, as described inIInfluence.getCategory()
targetLevel
- The target level of the influence, as described inIInfluence.getTargetLevel()
timeLowerBound
- The lower bound of the transitory period during which this influence was created.timeUpperBound
- The upper bound of the transitory period during which this influence was created.- Throws:
IllegalArgumentException
- If one of the arguments isnull
.
-
-