|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnl.toolforge.karma.core.module.Module.State
Inner class representing the 'state' of a module. Three states exist at the moment : WORKING,
STATIC and DYNAMIC.
WORKING means that a developer wants to develop on the module; add code, remove code etc. The
local copy of the module will be updated to the reflect the latest versions of files in a particular
branch. WORKING state also implies that a developer can promote a module so that manifests
that have the module in a DYNAMIC state, can choose to upgrade their manifest to the latest
(stable) version of the module.
DYNAMNIC means that a developer is not interested in the HEAD of a development line, but only
in stable versions of the module.
STATIC means that a developer wants to use a fixed version of the module in the manifest.
| Constructor Summary | |
Module.State(java.lang.String stateString)
Constructor. |
|
| Method Summary | |
boolean |
equals(java.lang.Object o)
Checks equality of one State instance to this State instance. |
java.lang.String |
getHiddenFileName()
Returns the filename for this state on disk (generally something like .WORKING or
.STATIC. |
int |
hashCode()
|
java.lang.String |
toString()
Gets the string representation of this state object. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public Module.State(java.lang.String stateString)
State instance with the correct state string.
stateString - | Method Detail |
public java.lang.String toString()
String representation of this state object.public int hashCode()
public boolean equals(java.lang.Object o)
State instance to this State instance. Instances are equal
when their state strings are equal.
o - An object instance that must be checked for equality with this State instance.
true if this State instance equals o, otherwise
false.public java.lang.String getHiddenFileName()
.WORKING or
.STATIC.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||