com.intel.gpe.clients.api.workflow
Class Pick

java.lang.Object
  extended by com.intel.gpe.clients.api.workflow.Pick
All Implemented Interfaces:
Action

public class Pick
extends java.lang.Object
implements Action

Waiting for messages to the workflow resource. When a message arrives the piece of code marked with the matching message signature is executed. The message signature includes:

Version:
$Id: Pick.java,v 1.5 2006/02/17 08:15:37 serduk Exp $
Author:
Alexander Lukichev

Nested Class Summary
static class Pick.OnMessage
          The message handler.
 
Constructor Summary
Pick()
           
 
Method Summary
 void addMessageHandler(Pick.OnMessage handler)
          Add the message handler
 void emitCode(Scope scope, org.w3c.dom.Element target)
          Emit the piece of code corresponding to the current action.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Pick

public Pick()
Method Detail

emitCode

public void emitCode(Scope scope,
                     org.w3c.dom.Element target)
              throws java.lang.Exception
Description copied from interface: Action
Emit the piece of code corresponding to the current action.

Specified by:
emitCode in interface Action
Parameters:
scope - The variable scope of the workflow
target - The XML DOM element to append the action code to
Throws:
java.lang.Exception - In a case of error

addMessageHandler

public void addMessageHandler(Pick.OnMessage handler)
Add the message handler

Parameters:
handler - the handler


Copyright © 2008. All Rights Reserved.