|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.starteam.viewcomparemerge.Session.State
public static final class Session.State
The state of the sesion. A session may be in one and only one of these states at any given time.
| Field Summary | |
|---|---|
static Session.State[] |
ALL
All possible session states |
static Session.State |
CLOSED
Session.close() has been called, so all intermediate results; e.g. |
static Session.State |
COMMITTED
New and restored sessions have this state if commit() was successfully called (hence cannot be called again). |
static Session.State |
COMPARED
New and/or restored sessions have this state if compare() successfully completed (hence cannot be called again), but commit() was never successfully called. |
static Session.State |
CONNECTED
A session has this state before compare() has been called. |
static Session.State |
DISCONNECTED
A session is in this state when it has been restored (from a serialized stream) but not yet connected. |
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
returns true if the two SessionStates represent the same state |
java.lang.String |
getName()
Returns the name of this session state as a string. |
int |
hashCode()
returns hashcode of the session state |
java.lang.String |
toString()
Returns a String representation of this session state |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final Session.State DISCONNECTED
public static final Session.State CONNECTED
public static final Session.State COMPARED
public static final Session.State COMMITTED
public static final Session.State CLOSED
public static final Session.State[] ALL
| Method Detail |
|---|
public boolean equals(java.lang.Object o)
equals in class java.lang.Objecto - State a State to test for equality
public int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String getName()
public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||