org.ourgrid.mygrid.replicaexecutor.test
Class FakeTaskSpec

java.lang.Object
  extended by org.ourgrid.common.spec.TaskSpec
      extended by org.ourgrid.mygrid.replicaexecutor.test.FakeTaskSpec
All Implemented Interfaces:
java.io.Serializable

public class FakeTaskSpec
extends TaskSpec

Description: a fake class to be used by unit tests

Version:
1.0 Created on 14/07/2004
See Also:
Serialized Form

Constructor Summary
FakeTaskSpec()
           
 
Method Summary
static FakeTaskSpec getFakeTaskSpec()
           
 IOBlock getFinalBlock()
          Gets the final part of a task.
 java.lang.String getFinalExec()
           
 IOBlock getInitBlock()
          Gets the init part of a task.
 java.lang.String getInitExec()
           
 java.lang.String getRemoteExec()
          Gets the remote part of a task.
 
Methods inherited from class org.ourgrid.common.spec.TaskSpec
equals, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FakeTaskSpec

public FakeTaskSpec()
             throws TaskSpecificationException
Throws:
TaskSpecificationException
Method Detail

getFakeTaskSpec

public static FakeTaskSpec getFakeTaskSpec()

getFinalExec

public java.lang.String getFinalExec()

getInitExec

public java.lang.String getInitExec()

getInitBlock

public IOBlock getInitBlock()
Description copied from class: TaskSpec
Gets the init part of a task.

Overrides:
getInitBlock in class TaskSpec
Returns:
Returns the initBlock.

getFinalBlock

public IOBlock getFinalBlock()
Description copied from class: TaskSpec
Gets the final part of a task.

Overrides:
getFinalBlock in class TaskSpec
Returns:
Returns the finalBlock.

getRemoteExec

public java.lang.String getRemoteExec()
Description copied from class: TaskSpec
Gets the remote part of a task.

Overrides:
getRemoteExec in class TaskSpec
Returns:
Returns the remoteExec.