View Javadoc

1   package net.sourceforge.basher.annotations;
2   
3   import java.lang.annotation.Retention;
4   import java.lang.annotation.RetentionPolicy;
5   import java.lang.annotation.Target;
6   import java.lang.annotation.ElementType;
7   
8   /** Defines the time before which the task may not be executed.  Defined in seconds since beginning of the run.
9    * @author Johan Lindquist
10   * @version $Revision$
11   */
12  @Retention(RetentionPolicy.RUNTIME)
13  @Target(ElementType.TYPE)
14  public @interface BasherRunFrom
15  {
16      /** Defines the time before which the task may not be executed.
17       * Defined in seconds since beginning of the run.
18       *
19       * @return The time
20       */
21      long time();
22  }