public enum SessionState extends Enum<SessionState>
Enum Constant and Description |
---|
AUTHENTICATING
Attempting to authenticate with the remote endpoint.
|
CANCELED
Deprecated.
|
CANCELING
Canceling the transfer.
|
CANCELLED
Cancelled.
|
CONNECTING
Attempting to establish a connection with the remote endpoint.
|
FAILED
An error occurred that prevented the Session from completing.
|
FINISHED
The Session completed successfully.
|
IDLE
Not started yet.
|
STARTING
A connection was established and the session has started.
|
TRANSFERRING
The Session is currently in progress.
|
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static SessionState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SessionState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SessionState AUTHENTICATING
public static final SessionState CANCELED
public static final SessionState CANCELLED
public static final SessionState CANCELING
public static final SessionState CONNECTING
public static final SessionState FAILED
public static final SessionState FINISHED
public static final SessionState IDLE
public static final SessionState STARTING
public static final SessionState TRANSFERRING
public static SessionState[] values()
for (SessionState c : SessionState.values()) System.out.println(c);
public static SessionState 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 toString()
toString
in class Enum<SessionState>
Copyright © 2017 Aspera Inc.. All rights reserved.