fr.cnes.sirius.patrius.events.postprocessing
Class DelayCriterion

java.lang.Object
  extended by fr.cnes.sirius.patrius.events.postprocessing.DelayCriterion
All Implemented Interfaces:
PostProcessing

public final class DelayCriterion
extends Object
implements PostProcessing

Since:
1.1
Version:
$Id: DelayCriterion.java 17586 2017-05-10 13:29:16Z bignon $
Author:
Julie Anton
Description :

This class is a post processing criterion that delays a specified kind of events.

Concurrency :
immutable

Constructor Summary
DelayCriterion(String elementCode, double delay)
          Constructor
DelayCriterion(String elementCode, double delay, String delayedElementCode, String newComment)
          Constructor
 
Method Summary
 void applyTo(Timeline list)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DelayCriterion

public DelayCriterion(String elementCode,
                      double delay)
Constructor

Parameters:
elementCode - : code of the elements that has to be delayed
delay - : delay (in secondes)
Description :
build an instance of DelayCriterion from a code

DelayCriterion

public DelayCriterion(String elementCode,
                      double delay,
                      String delayedElementCode,
                      String newComment)
Constructor

Parameters:
elementCode - : code of the elements that has to be delayed
delay - : delay (in secondes)
delayedElementCode - : delayed element code
newComment - comment of the new phenomena added to the list
Description :
build an instance of DelayCriterion from an event code and a code for the created delayed elements
Method Detail

applyTo

public void applyTo(Timeline list)
Specified by:
applyTo in interface PostProcessing
Parameters:
list - : the timeline that has to be processed


Copyright © 2017 CNES. All Rights Reserved.