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 SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum ConstantsEnum 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 SummaryModifier 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- 
valuesReturns 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
 
- 
valueOfReturns 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 name
- NullPointerException- if the argument is null
 
- 
getCommand
- 
toCommand
 
-