Enum AbstractRemoteFileOutboundGateway.Command

java.lang.Object
java.lang.Enum<AbstractRemoteFileOutboundGateway.Command>
org.springframework.integration.file.remote.gateway.AbstractRemoteFileOutboundGateway.Command
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<AbstractRemoteFileOutboundGateway.Command>, java.lang.constant.Constable
Enclosing class:
AbstractRemoteFileOutboundGateway<F>

public static enum AbstractRemoteFileOutboundGateway.Command
extends java.lang.Enum<AbstractRemoteFileOutboundGateway.Command>
Enumeration of commands supported by the gateways.
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    java.lang.Enum.EnumDesc<E extends java.lang.Enum<E>>
  • Enum Constant Summary

    Enum Constants 
    Enum Constant Description
    GET
    (get) Retrieve a remote file.
    LS
    (ls) List remote files.
    MGET
    (mget) Retrieve multiple files matching a wildcard path.
    MPUT
    (mput) Put multiple local files to the remote system.
    MV
    (mv) Move (rename) a remote file.
    NLST
    (nlst) List remote file names.
    PUT
    (put) Put a local file to the remote system.
    RM
    (rm) Remove a remote file (path - including wildcards).
  • Method Summary

    Modifier and Type Method 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.

    Methods inherited from class java.lang.Enum

    clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait