public static enum AbstractRemoteFileOutboundGateway.Command extends 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 |
---|---|
String |
getCommand() |
static AbstractRemoteFileOutboundGateway.Command |
toCommand(String cmd) |
static AbstractRemoteFileOutboundGateway.Command |
valueOf(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(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic String getCommand()
public static AbstractRemoteFileOutboundGateway.Command toCommand(String cmd)