public enum TransferEvent extends Enum<TransferEvent>
Enum Constant and Description |
---|
ARG_STOP
Arg stop
|
BANDWIDTH_MEASUREMENT
Results of bandwidth measurement.
|
CONNECTING
The session is trying to establish a connection.
|
FILE_ERROR
Error in transferring the file.
|
FILE_SKIP
Skipped file event
|
FILE_START
File transfer started.
|
FILE_STOP
File transfer stopped.
|
PROGRESS
Transfer is progressing
|
RATE_MODIFICATION
Session transfer rate was modified.
|
SESSION_ERROR
Error in the session.
|
SESSION_START
Session starts.
|
SESSION_STOP
Session ends.
|
Modifier and Type | Method and Description |
---|---|
String |
getDescription() |
String |
toString() |
static TransferEvent |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TransferEvent[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransferEvent BANDWIDTH_MEASUREMENT
public static final TransferEvent CONNECTING
public static final TransferEvent FILE_ERROR
public static final TransferEvent FILE_START
public static final TransferEvent FILE_STOP
public static final TransferEvent PROGRESS
public static final TransferEvent RATE_MODIFICATION
public static final TransferEvent SESSION_ERROR
public static final TransferEvent SESSION_START
public static final TransferEvent SESSION_STOP
public static final TransferEvent FILE_SKIP
public static final TransferEvent ARG_STOP
public static TransferEvent[] values()
for (TransferEvent c : TransferEvent.values()) System.out.println(c);
public static TransferEvent valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getDescription()
public String toString()
toString
in class Enum<TransferEvent>
Copyright © 2017 Aspera Inc.. All rights reserved.