public static enum Sftp.DownloadFileOperation.TransferStrategy extends java.lang.Enum<Sftp.DownloadFileOperation.TransferStrategy>
Enum Constant and Description |
---|
ALWAYS_RESUME |
FROM_SCRATCH |
RESUME_AFTER_FIRST_ATTEMPT |
Modifier and Type | Method and Description |
---|---|
abstract void |
apply(Sftp.DownloadFileOperation operation) |
static Sftp.DownloadFileOperation.TransferStrategy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Sftp.DownloadFileOperation.TransferStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Sftp.DownloadFileOperation.TransferStrategy FROM_SCRATCH
public static final Sftp.DownloadFileOperation.TransferStrategy ALWAYS_RESUME
public static final Sftp.DownloadFileOperation.TransferStrategy RESUME_AFTER_FIRST_ATTEMPT
public static Sftp.DownloadFileOperation.TransferStrategy[] values()
for (Sftp.DownloadFileOperation.TransferStrategy c : Sftp.DownloadFileOperation.TransferStrategy.values()) System.out.println(c);
public static Sftp.DownloadFileOperation.TransferStrategy valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic abstract void apply(Sftp.DownloadFileOperation operation) throws java.lang.Exception
java.lang.Exception
Copyright © JSCAPE LLC. 1999-2021. All Rights Reserved