public static enum AbstractRemoteFileOutboundGateway.Command extends java.lang.Enum<AbstractRemoteFileOutboundGateway.Command>
Enum Constant and Description |
---|
GET
Retrieve a remote file.
|
LS
List remote files.
|
MGET
Retrieve multiple files matching a wildcard path.
|
MPUT
Put multiple local files to the remote system.
|
MV
Move (rename) a remote file.
|
PUT
Put a local file to the remote system.
|
RM
Remove a remote file (path - including wildcards).
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCommand() |
static AbstractRemoteFileOutboundGateway.Command |
toCommand(java.lang.String cmd) |
static AbstractRemoteFileOutboundGateway.Command |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AbstractRemoteFileOutboundGateway.Command[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AbstractRemoteFileOutboundGateway.Command LS
public static final AbstractRemoteFileOutboundGateway.Command GET
public static final AbstractRemoteFileOutboundGateway.Command RM
public static final AbstractRemoteFileOutboundGateway.Command MGET
public static final AbstractRemoteFileOutboundGateway.Command MV
public static final AbstractRemoteFileOutboundGateway.Command PUT
public static final AbstractRemoteFileOutboundGateway.Command MPUT
public static AbstractRemoteFileOutboundGateway.Command[] values()
for (AbstractRemoteFileOutboundGateway.Command c : AbstractRemoteFileOutboundGateway.Command.values()) System.out.println(c);
public static AbstractRemoteFileOutboundGateway.Command valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getCommand()
public static AbstractRemoteFileOutboundGateway.Command toCommand(java.lang.String cmd)