| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.tools.ant.types.EnumeratedAttribute
org.apache.tools.ant.taskdefs.WaitFor.Unit
public static class WaitFor.Unit
The enumeration of units: millisecond, second, minute, hour, day, week
| Field Summary | |
|---|---|
| static java.lang.String | DAYday string | 
| static java.lang.String | HOURhour string | 
| static java.lang.String | MILLISECONDmillisecond string | 
| static java.lang.String | MINUTEminute string | 
| static java.lang.String | SECONDsecond string | 
| static java.lang.String | WEEKweek string | 
| Fields inherited from class org.apache.tools.ant.types.EnumeratedAttribute | 
|---|
| value | 
| Constructor Summary | |
|---|---|
| WaitFor.Unit()Constructor the Unit enumerated type. | |
| Method Summary | |
|---|---|
|  long | getMultiplier()Convert the value to a multipler (millisecond to unit). | 
|  java.lang.String[] | getValues()This is the only method a subclass needs to implement. | 
| Methods inherited from class org.apache.tools.ant.types.EnumeratedAttribute | 
|---|
| containsValue, getIndex, getInstance, getValue, indexOfValue, setValue, toString | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Field Detail | 
|---|
public static final java.lang.String MILLISECOND
public static final java.lang.String SECOND
public static final java.lang.String MINUTE
public static final java.lang.String HOUR
public static final java.lang.String DAY
public static final java.lang.String WEEK
| Constructor Detail | 
|---|
public WaitFor.Unit()
| Method Detail | 
|---|
public long getMultiplier()
public java.lang.String[] getValues()
getValues in class EnumeratedAttribute| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||