Class PropertyFile.Entry.Operation
- java.lang.Object
- 
- org.apache.tools.ant.types.EnumeratedAttribute
- 
- org.apache.tools.ant.taskdefs.optional.PropertyFile.Entry.Operation
 
 
- 
- Enclosing class:
- PropertyFile.Entry
 
 public static class PropertyFile.Entry.Operation extends EnumeratedAttribute Enumerated attribute with the values "+", "-", "="
- 
- 
Field SummaryFields Modifier and Type Field Description static intDECREMENT_OPER-static intDELETE_OPERdelstatic intEQUALS_OPER=static intINCREMENT_OPER+- 
Fields inherited from class org.apache.tools.ant.types.EnumeratedAttributevalue
 
- 
 - 
Constructor SummaryConstructors Constructor Description Operation()
 - 
Method SummaryModifier and Type Method Description java.lang.String[]getValues()This is the only method a subclass needs to implement.static inttoOperation(java.lang.String oper)Convert string to index.- 
Methods inherited from class org.apache.tools.ant.types.EnumeratedAttributecontainsValue, getIndex, getInstance, getValue, indexOfValue, setValue, toString
 
- 
 
- 
- 
- 
Field Detail- 
INCREMENT_OPERpublic static final int INCREMENT_OPER +- See Also:
- Constant Field Values
 
 - 
DECREMENT_OPERpublic static final int DECREMENT_OPER -- See Also:
- Constant Field Values
 
 - 
EQUALS_OPERpublic static final int EQUALS_OPER =- See Also:
- Constant Field Values
 
 - 
DELETE_OPERpublic static final int DELETE_OPER del- See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
getValuespublic java.lang.String[] getValues() This is the only method a subclass needs to implement..- Specified by:
- getValuesin class- EnumeratedAttribute
- Returns:
- 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.
 
 - 
toOperationpublic static int toOperation(java.lang.String oper) Convert string to index.- Parameters:
- oper- the string to convert.
- Returns:
- the index.
 
 
- 
 
-