|
|
XGController |
| Inherits from: | |
| Declared In: |
This class provides a local interface to remote Xgrid controllers.
Instances of this class each connect to an individual controller. The association between an instance and a remote Xgrid controller is represented by the instance's connection property. Instances of XGController automatically keep themselves up-to-date by monitoring changes to the controller they are connected to. Instances can have predicate strings set which cause the controller to selectively filter which properties get updated. If a property predicate string is set to "FALSE" then that property will not be updated at all.
Returns the default grid, or nil if there is no default grid.
Returns the grid with the specified identifier, or nil if the controller does not manage the grid with the specified identifier.
Returns an array of the grids lists managed by the controller.
The designated initializer.
Returns the predicate string used to filter jobs.
Attempts to submit a job to the specified grid, or the default grid if no grid is specified.
Sets the predicate string used to filter jobs.
defaultGrid |
Returns the default grid, or nil if there is no default grid.
- (XGGrid *)defaultGrid;
An XGGrid instance, or nil.
gridForIdentifier: |
Returns the grid with the specified identifier, or nil if the controller does not manage the grid with the specified identifier.
identifierThe identifier of the grid.
An XGGrid instance, or nil.
grids |
Returns an array of the grids lists managed by the controller.
- (NSArray *)grids;
An array of XGGrids.
initWithConnection: |
The designated initializer.
- (id)initWithConnection:(XGConnection *)connection;
connectionThe connection to be used by the receiver.
An initialized instance.
jobsPredicateString |
Returns the predicate string used to filter jobs.
- (NSString *)jobsPredicateString;
A predicate string.
performSubmitJobActionWithJobSpecification:gridIdentifier: |
Attempts to submit a job to the specified grid, or the default grid if no grid is specified.
- (id)performSubmitJobActionWithJobSpecification:(NSDictionary *)jobSpecification gridIdentifier:(NSString *)gridIdentifier;
An XGActionMontior instance for tracking the action progress.
setJobsPredicateString: |
Sets the predicate string used to filter jobs.
predicateStringThe predicate string used to filter jobs.
Last Updated: 2009-08-12