com.github.goldin.org.apache.tools.ant.taskdefs.optional.net
Class FTP.Action
java.lang.Object
org.apache.tools.ant.types.EnumeratedAttribute
com.github.goldin.org.apache.tools.ant.taskdefs.optional.net.FTP.Action
- Enclosing class:
- FTP
public static class FTP.Action
- extends org.apache.tools.ant.types.EnumeratedAttribute
an action to perform, one of
"send", "put", "recv", "get", "del", "delete", "list", "mkdir", "chmod",
"rmdir"
| Fields inherited from class org.apache.tools.ant.types.EnumeratedAttribute |
value |
|
Method Summary |
int |
getAction()
Get the symbolic equivalent of the action value. |
String[] |
getValues()
Get the valid values |
| Methods inherited from class org.apache.tools.ant.types.EnumeratedAttribute |
containsValue, getIndex, getInstance, getValue, indexOfValue, setValue, toString |
FTP.Action
public FTP.Action()
getValues
public String[] getValues()
- Get the valid values
- Specified by:
getValues in class org.apache.tools.ant.types.EnumeratedAttribute
- Returns:
- an array of the valid FTP actions.
getAction
public int getAction()
- Get the symbolic equivalent of the action value.
- Returns:
- the SYMBOL representing the given action.
Copyright © 2012. All Rights Reserved.