edu.ntnu.cikmr.workflow
Class ExecutableActivity

java.lang.Object
  extended by edu.ntnu.cikmr.workflow.ExecutableActivity
All Implemented Interfaces:
Executable, XMLRepresentation
Direct Known Subclasses:
Activity, Goal

public abstract class ExecutableActivity
extends java.lang.Object
implements Executable, XMLRepresentation


Constructor Summary
ExecutableActivity()
           
 
Method Summary
 void clearHalt()
           
 boolean control(java.lang.String command)
           
 java.lang.String getId()
           
 Log getLog()
           
 Goal getParent()
           
 Individual getType()
           
 void halt()
           
 boolean hasParent()
           
 boolean isHalted()
           
protected  void setId(java.lang.String id)
           
protected  void setParent(Goal parent)
           
protected  void setType(Individual type)
           
abstract  java.lang.String toTypeXML(java.lang.String location, java.lang.String pipeID, java.lang.String workflowID)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface edu.ntnu.cikmr.workflow.Executable
execute, getResult
 
Methods inherited from interface edu.ntnu.cikmr.XMLRepresentation
fromXML, toXML
 

Constructor Detail

ExecutableActivity

public ExecutableActivity()
Method Detail

setParent

protected void setParent(Goal parent)

setId

protected void setId(java.lang.String id)

setType

protected void setType(Individual type)

getParent

public Goal getParent()

getType

public Individual getType()

getId

public java.lang.String getId()

hasParent

public boolean hasParent()

getLog

public Log getLog()

control

public boolean control(java.lang.String command)

isHalted

public boolean isHalted()

halt

public void halt()

clearHalt

public void clearHalt()

toTypeXML

public abstract java.lang.String toTypeXML(java.lang.String location,
                                           java.lang.String pipeID,
                                           java.lang.String workflowID)