Method | Description | |
---|---|---|
Audit ( MonkeyWrench who, string action ) : void | ||
BeginTransaction ( ) : IDbTransaction | ||
ClearAllWork ( int lane_id, int host_id ) : void | ||
ClearWork ( int lane_id, int revision_id, int host_id ) : void | ||
CloneLane ( int lane_id, string new_name, bool copy_files ) : |
||
CreateCommand ( ) : IDbCommand |
Creates a command with a default timeout of 300 seconds.
|
|
CreateCommand ( System.TimeSpan Timeout ) : IDbCommand |
Creates a command with the specified timeout. A timeout of 0 means infinity.
|
|
CreateCommand ( string query ) : IDbCommand | ||
CreateParameter ( IDbCommand cmd, string name, object value ) : void | ||
DB ( ) : System | ||
DB ( bool Connect ) : System | ||
DeleteAllWork ( int lane_id, int host_id ) : void | ||
DeleteFiles ( int host_id, int lane_id, int revision_id ) : void |
Deletes all the files related to the work in the revision 'revision_id' of lane 'lane' on the host 'host'.
|
|
DeleteLinks ( int host_id, int lane_id, int revision_id ) : void | ||
DeleteWork ( int lane_id, int revision_id, int host_id ) : void | ||
Dispose ( ) : void | ||
Download ( |
||
Download ( MonkeyWrench.DataClasses.DBWorkFile file ) : Stream | ||
Download ( |
||
ExecuteNonQuery ( string sql ) : int | ||
ExecuteScalar ( string sql ) : object | ||
GetAllHostLanes ( ) : List |
||
GetAllLaneFiles ( ) : List |
||
GetAllLanes ( ) : List |
Returns all the lanes in the database.
|
|
GetCommands ( int lane_id ) : List |
||
GetDBRevisions ( int lane_id, bool ordered ) : DBRevision>.Dictionary |
||
GetDBRevisions ( int lane_id, int limit, bool ordered = true ) : List |
||
GetDBRevisions ( int lane_id, int limit, int offset, bool ordered = true ) : List |
||
GetHostLane ( int host_id, int lane_id ) : |
||
GetHosts ( ) : List |
||
GetHostsForLane ( int lane_id ) : List |
||
GetLane ( int id ) : |
Returns lane that matches lane_id in the database
|
|
GetLaneHierarchy ( int lane_id ) : List |
This will return a list of lane ids: [0]: input lane_id [1]: [0]'s parent lane id [2]: [1]'s parent lane id etc
|
|
GetLanes ( ) : List |
Returns all the lanes for which there are revisions in the database
|
|
GetLanesForHost ( int host_id, bool only_enabled ) : List |
||
GetLargeObjectSize ( int oid ) : int | ||
GetLastRevision ( string lane ) : int | ||
GetNextStep ( string lane ) : DBWork | ||
GetRevision ( string lane, int revision ) : DBRevision | ||
GetRevisionWork ( DBLane lane, DBHost host, DBHost workhost ) : DBRevisionWork |
Will return a locked revision work.
|
|
GetRevisions ( string lane, int limit ) : List |
||
GetSize ( int file_id ) : int | ||
GetWork ( DBRevisionWork revisionwork ) : List |
||
HasWork ( int lane_id, int revision_id, int host_id ) : bool | ||
IgnoreWork ( int lane_id, int revision_id, int host_id ) : void | ||
IsLatestRevisionWork ( DBRevisionWork current ) : bool |
Checks if the specified RevisionWork is the latest.
|
|
LookupHost ( string host ) : DBHost | ||
LookupHost ( string host, bool throwOnError ) : DBHost | ||
LookupLane ( string lane ) : DBLane | ||
LookupLane ( string lane, bool throwOnError ) : DBLane | ||
Upload ( string filename, string extension, bool hidden, string compressed_mime ) : DBFile |
|
|
Upload ( string md5, string path_to_contents, string filename, string extension, bool hidden, string compressed_mime ) : DBFile | ||
UploadString ( string contents, string extension, bool hidden ) : DBFile |
Method | Description | |
---|---|---|
Connect ( ) : void |
public Audit ( MonkeyWrench who, string action ) : void | ||
who | MonkeyWrench | |
action | string | |
return | void |
public ClearAllWork ( int lane_id, int host_id ) : void | ||
lane_id | int | |
host_id | int | |
return | void |
public ClearWork ( int lane_id, int revision_id, int host_id ) : void | ||
lane_id | int | |
revision_id | int | |
host_id | int | |
return | void |
public CloneLane ( int lane_id, string new_name, bool copy_files ) : |
||
lane_id | int | |
new_name | string | |
copy_files | bool | |
return |
public CreateCommand ( System.TimeSpan Timeout ) : IDbCommand | ||
Timeout | System.TimeSpan | |
return | IDbCommand |
public CreateCommand ( string query ) : IDbCommand | ||
query | string | |
return | IDbCommand |
public static CreateParameter ( IDbCommand cmd, string name, object value ) : void | ||
cmd | IDbCommand | |
name | string | |
value | object | |
return | void |
public DeleteAllWork ( int lane_id, int host_id ) : void | ||
lane_id | int | |
host_id | int | |
return | void |
public DeleteFiles ( int host_id, int lane_id, int revision_id ) : void | ||
host_id | int | |
lane_id | int | |
revision_id | int | |
return | void |
public DeleteLinks ( int host_id, int lane_id, int revision_id ) : void | ||
host_id | int | |
lane_id | int | |
revision_id | int | |
return | void |
public DeleteWork ( int lane_id, int revision_id, int host_id ) : void | ||
lane_id | int | |
revision_id | int | |
host_id | int | |
return | void |
public Download ( |
||
file | ||
return | Stream |
public Download ( MonkeyWrench.DataClasses.DBWorkFile file ) : Stream | ||
file | MonkeyWrench.DataClasses.DBWorkFile | |
return | Stream |
public Download ( |
||
file | ||
return | Stream |
public GetDBRevisions ( int lane_id, bool ordered ) : DBRevision>.Dictionary |
||
lane_id | int | |
ordered | bool | |
return | DBRevision>.Dictionary |
public GetDBRevisions ( int lane_id, int limit, bool ordered = true ) : List |
||
lane_id | int | |
limit | int | |
ordered | bool | |
return | List |
public GetDBRevisions ( int lane_id, int limit, int offset, bool ordered = true ) : List |
||
lane_id | int | |
limit | int | |
offset | int | |
ordered | bool | |
return | List |
public GetHostLane ( int host_id, int lane_id ) : |
||
host_id | int | |
lane_id | int | |
return |
public GetHostsForLane ( int lane_id ) : List |
||
lane_id | int | |
return | List |
public GetLane ( int id ) : |
||
id | int | |
return |
public GetLaneHierarchy ( int lane_id ) : List |
||
lane_id | int | |
return | List |
public GetLanesForHost ( int host_id, bool only_enabled ) : List |
||
host_id | int | |
only_enabled | bool | |
return | List |
public GetRevision ( string lane, int revision ) : DBRevision | ||
lane | string | |
revision | int | |
return | DBRevision |
public GetRevisionWork ( DBLane lane, DBHost host, DBHost workhost ) : DBRevisionWork | ||
lane | DBLane | |
host | DBHost | |
workhost | DBHost | |
return | DBRevisionWork |
public GetRevisions ( string lane, int limit ) : List |
||
lane | string | |
limit | int | |
return | List |
public GetWork ( DBRevisionWork revisionwork ) : List |
||
revisionwork | DBRevisionWork | |
return | List |
public HasWork ( int lane_id, int revision_id, int host_id ) : bool | ||
lane_id | int | |
revision_id | int | |
host_id | int | |
return | bool |
public IgnoreWork ( int lane_id, int revision_id, int host_id ) : void | ||
lane_id | int | |
revision_id | int | |
host_id | int | |
return | void |
public IsLatestRevisionWork ( DBRevisionWork current ) : bool | ||
current | DBRevisionWork | |
return | bool |
public LookupHost ( string host, bool throwOnError ) : DBHost | ||
host | string | |
throwOnError | bool | |
return | DBHost |
public LookupLane ( string lane, bool throwOnError ) : DBLane | ||
lane | string | |
throwOnError | bool | |
return | DBLane |
public Upload ( string filename, string extension, bool hidden, string compressed_mime ) : DBFile | ||
filename | string | |
extension | string | |
hidden | bool | |
compressed_mime | string | |
return | DBFile |
public Upload ( string md5, string path_to_contents, string filename, string extension, bool hidden, string compressed_mime ) : DBFile | ||
md5 | string | |
path_to_contents | string | |
filename | string | |
extension | string | |
hidden | bool | |
compressed_mime | string | |
return | DBFile |
public UploadString ( string contents, string extension, bool hidden ) : DBFile | ||
contents | string | |
extension | string | |
hidden | bool | |
return | DBFile |