com.virtualweaver.xotics.dialect.xape.engine
Interface XapTask

All Superinterfaces:
XapProcessable
All Known Implementing Classes:
XapAbstractTask

public interface XapTask
extends XapProcessable

The main way to implement a XAPE processing object is to make an XO object implement interface XapProcessable. However, this interface is an alternative to create a processing object which is not an XO object. By implementing this interface, any object can be loaded and invoked by these following XAPE APP elements : and .

Version:
2.1

Method Summary
 void init(XapRuntimeEnvironment env)
          Initialisation method, called when loading this
 void setArguments(java.util.Map arguments)
          Arguments are passed to this before each call to process() or init()
 
Methods inherited from interface com.virtualweaver.xotics.dialect.xape.engine.XapProcessable
getId, process
 

Method Detail

init

public void init(XapRuntimeEnvironment env)
          throws XapException
Initialisation method, called when loading this

Parameters:
env - current XAPE environment
Throws:
XapException

setArguments

public void setArguments(java.util.Map arguments)
                  throws XapException
Arguments are passed to this before each call to process() or init()

Parameters:
arguments - a map containing couples of name/value as strings
Throws:
XapException