public class RuleAspect extends Object
Rule.init(SimulationContext)
, Rule.preAction(SimulationContext, TimeStep, Metier)
,
Rule.postAction(SimulationContext, TimeStep, Metier)
et mémoriser
le temps mit.Constructor and Description |
---|
RuleAspect() |
Modifier and Type | Method and Description |
---|---|
Object |
initCall(org.aspectj.lang.ProceedingJoinPoint jp)
Aspect around
Rule.init(SimulationContext) in packages "rules". |
Object |
initPostCall(org.aspectj.lang.ProceedingJoinPoint jp)
Aspect around
Rule.postAction(SimulationContext, TimeStep, Metier) in packages "rules". |
Object |
initPreCall(org.aspectj.lang.ProceedingJoinPoint jp)
Aspect around
Rule.preAction(SimulationContext, TimeStep, Metier) in packages "rules". |
protected Object |
makeTimedCall(org.aspectj.lang.ProceedingJoinPoint jp,
int state)
Effectue l'appel reel en calculant le temps pris.
|
protected void |
registerTime(org.aspectj.lang.JoinPoint jp,
int state,
long timeTaken)
Add time (init/pre/post) to simulation information in
current
SimulationContext . |
public Object initCall(org.aspectj.lang.ProceedingJoinPoint jp) throws Throwable
Rule.init(SimulationContext)
in packages "rules".jp
- join pointThrowable
public Object initPreCall(org.aspectj.lang.ProceedingJoinPoint jp) throws Throwable
Rule.preAction(SimulationContext, TimeStep, Metier)
in packages "rules".jp
- join pointThrowable
public Object initPostCall(org.aspectj.lang.ProceedingJoinPoint jp) throws Throwable
Rule.postAction(SimulationContext, TimeStep, Metier)
in packages "rules".jp
- join pointThrowable
protected Object makeTimedCall(org.aspectj.lang.ProceedingJoinPoint jp, int state) throws Throwable
jp
- join pointstate
- stateThrowable
protected void registerTime(org.aspectj.lang.JoinPoint jp, int state, long timeTaken)
SimulationContext
.jp
- join pointstate
- statetimeTaken
- time taken by state
Copyright © 1999–2020 CodeLutin. All rights reserved.