nz.ac.waikato.modeljunit.timing
Annotation Type Timeout


@Retention(value=RUNTIME)
@Target(value=FIELD)
public @interface Timeout

Annotation for Timeouts. The parameter provided is the name of the action to call when the timeout expires.

Author:
Scott eg. a timeout is declared as: @Timeout("myAction") public int myTimer; The action myAction will be triggered when the timeout is expired Timeouts follow the following conventions:
 value == 0 or -1                                               --> Not Set
 value > 0 && value < current time      --> Set
 value > current time                                   --> Expired
 

Required Element Summary
 java.lang.String value
           
 

Element Detail

value

public abstract java.lang.String value


Copyright © 2009 ModelJUnit Project. All Rights Reserved.