com.werken.blissed
Class ProcessContext

java.lang.Object
  |
  +--com.werken.blissed.ProcessContext

public class ProcessContext
extends java.lang.Object

Context for an instance of a Process.

Version:
$Id: ProcessContext.java,v 1.5 2002/09/18 16:17:29 bob Exp $
Author:
bob mcwhirter

Method Summary
 java.util.Set getChildren()
          Retrieve an unmodifiable set of all children ProcessContexts of this ProcessContext.
 Process getCurrentProcess()
          Retrieve the ProcessContext's current process location.
 State getCurrentState()
          Retrieve the ProcessContext's current state location.
 ProcessContext getParent()
          Retrieve the parent of this ProcessContext.
 Process getProcess()
          Retrieve the Process of this ProcessContext.
 java.lang.Object getProcessData()
          Retrieve the process-specific data.
 ProcessEngine getProcessEngine()
          Retrieve the ProcessEngine.
 void setProcessData(java.lang.Object processData)
          Set the process-specific data.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getProcessEngine

public ProcessEngine getProcessEngine()
Retrieve the ProcessEngine.
Returns:
The process engine.

getProcess

public Process getProcess()
Retrieve the Process of this ProcessContext.
Returns:
The process of this ProcessContext.

getParent

public ProcessContext getParent()
Retrieve the parent of this ProcessContext.
Returns:
The parent of this ProcessContext, or null if this is a root-level ProcessContext.

getProcessData

public java.lang.Object getProcessData()
Retrieve the process-specific data.
Returns:
The process data.

setProcessData

public void setProcessData(java.lang.Object processData)
Set the process-specific data.
Parameters:
processData - The process data.

getChildren

public java.util.Set getChildren()
Retrieve an unmodifiable set of all children ProcessContexts of this ProcessContext.
Returns:
An unmodifiable Set of children ProcessContexts.

getCurrentState

public State getCurrentState()
Retrieve the ProcessContext's current state location.
Returns:
The ProcessContext's current state location.

getCurrentProcess

public Process getCurrentProcess()
Retrieve the ProcessContext's current process location.
Returns:
The ProcessContext's current process location.


Copyright © 2002-2002 The Werken Company. All Rights Reserved.