Method | Description | |
---|---|---|
CalculateState ( DB db, int id, bool &completed ) : DBState |
Calculates the state. Always hits the db.
|
|
CalculateState ( this rw, DB db ) : DBState |
Calculates the state. Always hits the db.
|
|
Create ( DB db, int id ) : |
||
EnsureState ( DB db, int id, DBState current ) : DBState |
Calculates a new state if the current state is NotDone.
|
|
EnsureState ( this rw, DB db ) : DBState |
Calculates a new state if the current state is NotDone
|
|
Find ( DB db, |
||
GetCount ( DB db, int lane_id, int host_id ) : int | ||
GetFiles ( this rw, DB db ) : List |
Returns a list of all the files this revisionwork has produced
|
|
GetNextWork ( this rw, DB db, |
Finds pending steps for the current revision
|
|
SetWorkHost ( this rw, DB db, MonkeyWrench.DataClasses.DBHost host ) : bool |
Sets workhost to the specified host and saves it to the db.
|
|
UpdateState ( this rw, DB db ) : void |
Method | Description | |
---|---|---|
FilterPendingWork ( this rw, DB db, List |
Puts pending steps in result
|
|
ForAll ( List |
||
ForAny ( List |
||
SaveState ( DB db, int id, DBState state, bool completed ) : void |
public static CalculateState ( DB db, int id, bool &completed ) : DBState | ||
db | DB | |
id | int | |
completed | bool | |
return | DBState |
public static CalculateState ( this rw, DB db ) : DBState | ||
rw | this | |
db | DB | |
return | DBState |
public static Create ( DB db, int id ) : |
||
db | DB | |
id | int | |
return |
public static EnsureState ( DB db, int id, DBState current ) : DBState | ||
db | DB | |
id | int | |
current | DBState | |
return | DBState |
public static EnsureState ( this rw, DB db ) : DBState | ||
rw | this | |
db | DB | |
return | DBState |
public static Find ( DB db, |
||
db | DB | |
lane | ||
host | MonkeyWrench.DataClasses.DBHost | |
revision | ||
return |
public static GetCount ( DB db, int lane_id, int host_id ) : int | ||
db | DB | |
lane_id | int | |
host_id | int | |
return | int |
public static GetFiles ( this rw, DB db ) : List |
||
rw | this | |
db | DB | |
return | List |
public static GetNextWork ( this rw, DB db, |
||
rw | this | |
db | DB | |
lane | ||
host | MonkeyWrench.DataClasses.DBHost | |
revision | ||
multiple_work | bool | |
return | List |
public static SetWorkHost ( this rw, DB db, MonkeyWrench.DataClasses.DBHost host ) : bool | ||
rw | this | |
db | DB | |
host | MonkeyWrench.DataClasses.DBHost | |
return | bool |
public static UpdateState ( this rw, DB db ) : void | ||
rw | this | |
db | DB | |
return | void |