public static enum Sftp.UploadFileOperation.TransferStrategy extends java.lang.Enum<Sftp.UploadFileOperation.TransferStrategy>
| Enum Constant and Description |
|---|
ALWAYS_RESUME |
FROM_SCRATCH |
RESUME_AFTER_FIRST_ATTEMPT |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
apply(Sftp.UploadFileOperation operation) |
static Sftp.UploadFileOperation.TransferStrategy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Sftp.UploadFileOperation.TransferStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Sftp.UploadFileOperation.TransferStrategy FROM_SCRATCH
public static final Sftp.UploadFileOperation.TransferStrategy ALWAYS_RESUME
public static final Sftp.UploadFileOperation.TransferStrategy RESUME_AFTER_FIRST_ATTEMPT
public static Sftp.UploadFileOperation.TransferStrategy[] values()
for (Sftp.UploadFileOperation.TransferStrategy c : Sftp.UploadFileOperation.TransferStrategy.values()) System.out.println(c);
public static Sftp.UploadFileOperation.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.UploadFileOperation operation) throws java.lang.Exception
java.lang.ExceptionCopyright © JSCAPE LLC. 1999-2021. All Rights Reserved