com.jscape.util.workflow
Class Context

java.lang.Object
  extended by com.jscape.util.workflow.Context

public class Context
extends java.lang.Object

Workflow context.

Author:
Alex

Constructor Summary
Context()
          Creates a new context instance.
 
Method Summary
 void addVariable(Variable var)
          Adds a variable to context.
 void clear()
          Clears current context.
 Variable getVariable(java.lang.String name)
          Searches and returns variable from context.
 Variable removeVariable(java.lang.String name)
          Removes variable from context.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Context

public Context()
Creates a new context instance.

Method Detail

addVariable

public void addVariable(Variable var)
Adds a variable to context.

Parameters:
var - variable

getVariable

public Variable getVariable(java.lang.String name)
Searches and returns variable from context.

Parameters:
name - variable name
Returns:
found variable or null if variable is not found

removeVariable

public Variable removeVariable(java.lang.String name)
Removes variable from context.

Parameters:
name - variable name.
Returns:
removed variable if exists

clear

public void clear()
Clears current context.



Copyright © 2007 JSCAPE Corp. All Rights Reserved.