|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.starbase.starteam.viewcomparemerge.SessionState
An enumeration of states. A session may be in one and only one of these states at any given time.
| Field Summary | |
static SessionState |
CLOSED
Session.close() has been called, so all intermediate results; e.g. |
static SessionState |
COMMITTED
New and restored sessions have this state if commit() was successfully called (hence cannot be called again). |
static SessionState |
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 SessionState |
CONNECTED
A session has this state before compare() has been called. |
static SessionState |
DISCONNECTED
A session is in this state when it has been restored (from a serialized stream) but not yet connected. |
| Method Summary | |
boolean |
equals(SessionState theOther)
returns true if the two SessionStates represent the same state |
java.lang.String |
getName()
Returns the name of this session state as a string. |
java.lang.String |
toString()
Returns a String representation of this session state |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final SessionState DISCONNECTED
public static final SessionState CONNECTED
public static final SessionState COMPARED
public static final SessionState COMMITTED
public static final SessionState CLOSED
| Method Detail |
public boolean equals(SessionState theOther)
theOther - SessionState a SessionState to test for equality
public 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 | |||||||||