com.ace.moab.api.jobs
Class SyncWithJobDependency

java.lang.Object
  extended by com.ace.moab.api.jobs.JobDependency
      extended by com.ace.moab.api.jobs.SyncWithJobDependency

public class SyncWithJobDependency
extends JobDependency

A job with this type of dependency will wait until it can start simultaneously with a pre-arranged master job that has a dependency of type synccount.

Author:
seeleyn

Constructor Summary
SyncWithJobDependency(java.lang.String masterJobID_)
          Constructor for this class
 
Method Summary
 boolean equals(java.lang.Object other)
          
 java.lang.String getMasterJobID()
          Returns the job ID of a job with a synccount dependency type that will be started simultaneously
 java.lang.String toCommand()
          Return a moab-readable string representation of the this dependency to be used when submitting jobs
 java.lang.String toString()
          
 
Methods inherited from class com.ace.moab.api.jobs.JobDependency
getType
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SyncWithJobDependency

public SyncWithJobDependency(java.lang.String masterJobID_)
Constructor for this class

Parameters:
masterJobID_ - A job ID of a job with a synccount dependency type that will be started simultaneously
Method Detail

getMasterJobID

public java.lang.String getMasterJobID()
Returns the job ID of a job with a synccount dependency type that will be started simultaneously

Returns:
the job ID of a job with a synccount dependency type that will be started simultaneously

toCommand

public java.lang.String toCommand()
Return a moab-readable string representation of the this dependency to be used when submitting jobs

Specified by:
toCommand in class JobDependency
Returns:
moab-readable string representation of the this dependency

toString

public java.lang.String toString()

Overrides:
toString in class java.lang.Object

equals

public boolean equals(java.lang.Object other)

Overrides:
equals in class java.lang.Object


Copyright © 2001-2009 Cluster Resources, Inc. All Rights Reserved.