Enum Class AbstractRemoteFileOutboundGateway.Command
java.lang.Object
java.lang.Enum<AbstractRemoteFileOutboundGateway.Command>
org.springframework.integration.file.remote.gateway.AbstractRemoteFileOutboundGateway.Command
- All Implemented Interfaces:
Serializable
,Comparable<AbstractRemoteFileOutboundGateway.Command>
,Constable
- Enclosing class:
- AbstractRemoteFileOutboundGateway<F>
public static enum AbstractRemoteFileOutboundGateway.Command
extends Enum<AbstractRemoteFileOutboundGateway.Command>
Enumeration of commands supported by the gateways.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescription(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.(nlst) List remote file names.(put) Put a local file to the remote system.(rm) Remove a remote file (path - including wildcards). -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
LS
(ls) List remote files. -
NLST
(nlst) List remote file names. -
GET
(get) Retrieve a remote file. -
RM
(rm) Remove a remote file (path - including wildcards). -
MGET
(mget) Retrieve multiple files matching a wildcard path. -
MV
(mv) Move (rename) a remote file. -
PUT
(put) Put a local file to the remote system. -
MPUT
(mput) Put multiple local files to the remote system.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getCommand
-
toCommand
-