org.apache.tools.ant.taskdefs
Class WaitFor.Unit
- WaitFor
public static class WaitFor.Unit
The enumeration of units:
millisecond, second, minute, hour, day, week
- we use timestamps in many places, why not factor this out
Unit
public Unit()
bean constructor
getMultiplier
public long getMultiplier()
getValues
public String[] getValues()
This is the only method a subclass needs to implement.
- getValues in interface EnumeratedAttribute
- an array holding all possible values of the enumeration.
The order of elements must be fixed so that indexOfValue(String)
always return the same index for the same value.
Copyright B) 2000-2006 Apache Software Foundation. All Rights Reserved.