Enum AbstractRemoteFileOutboundGateway.Option

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

public static enum AbstractRemoteFileOutboundGateway.Option
extends java.lang.Enum<AbstractRemoteFileOutboundGateway.Option>
Enumeration of options supported by various commands.
  • 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
    ALL
    (-a) Include files beginning with ., including directories . and .. in the results (ls).
    DELETE
    (-D) Delete the remote file after successful transfer (get, mget).
    EXCEPTION_WHEN_EMPTY
    (-x) Throw an exception if no files returned (mget).
    LINKS
    (-links) Include links in the results (ls).
    NAME_ONLY
    (-1) Don't return full file information; just the name (ls).
    NOSORT
    (-f) Do not sort the results (ls with NAME_ONLY).
    PRESERVE_TIMESTAMP
    (-P) Preserve the server timestamp (get, mget).
    RECURSIVE
    (-R) Recursive (ls, mget).
    STREAM
    (-stream) Streaming 'get' (returns InputStream); user must call Session.close().
    SUBDIRS
    (-dirs) Include directories in the results (ls).
  • Method Summary

    Modifier and Type Method Description
    java.lang.String getOption()  
    static AbstractRemoteFileOutboundGateway.Option toOption​(java.lang.String opt)  
    static AbstractRemoteFileOutboundGateway.Option valueOf​(java.lang.String name)
    Returns the enum constant of this type with the specified name.
    static AbstractRemoteFileOutboundGateway.Option[] 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