org.mule.transport.bpm.test
Class TestBpms

java.lang.Object
  extended by org.mule.transport.bpm.test.TestBpms
All Implemented Interfaces:
org.mule.transport.bpm.BPMS

public class TestBpms
extends Object
implements org.mule.transport.bpm.BPMS

Dummy BPMS for unit testing.


Constructor Summary
TestBpms()
           
 
Method Summary
 void abortProcess(Object processId)
           
 Object advanceProcess(Object processId, Object transition, Map processVariables)
           
 String getFoo()
           
 Object getId(Object process)
           
 Object getState(Object process)
           
 boolean hasEnded(Object process)
           
 boolean isProcess(Object obj)
           
 Object lookupProcess(Object processId)
           
 void setFoo(String foo)
           
 void setMessageService(org.mule.transport.bpm.MessageService msgService)
           
 Object startProcess(Object processType, Object transition, Map processVariables)
           
 Object updateProcess(Object processId, Map processVariables)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestBpms

public TestBpms()
Method Detail

abortProcess

public void abortProcess(Object processId)
                  throws Exception
Specified by:
abortProcess in interface org.mule.transport.bpm.BPMS
Throws:
Exception

advanceProcess

public Object advanceProcess(Object processId,
                             Object transition,
                             Map processVariables)
                      throws Exception
Specified by:
advanceProcess in interface org.mule.transport.bpm.BPMS
Throws:
Exception

getId

public Object getId(Object process)
             throws Exception
Specified by:
getId in interface org.mule.transport.bpm.BPMS
Throws:
Exception

getState

public Object getState(Object process)
                throws Exception
Specified by:
getState in interface org.mule.transport.bpm.BPMS
Throws:
Exception

hasEnded

public boolean hasEnded(Object process)
                 throws Exception
Specified by:
hasEnded in interface org.mule.transport.bpm.BPMS
Throws:
Exception

isProcess

public boolean isProcess(Object obj)
                  throws Exception
Specified by:
isProcess in interface org.mule.transport.bpm.BPMS
Throws:
Exception

lookupProcess

public Object lookupProcess(Object processId)
                     throws Exception
Specified by:
lookupProcess in interface org.mule.transport.bpm.BPMS
Throws:
Exception

setMessageService

public void setMessageService(org.mule.transport.bpm.MessageService msgService)
Specified by:
setMessageService in interface org.mule.transport.bpm.BPMS

startProcess

public Object startProcess(Object processType,
                           Object transition,
                           Map processVariables)
                    throws Exception
Specified by:
startProcess in interface org.mule.transport.bpm.BPMS
Throws:
Exception

updateProcess

public Object updateProcess(Object processId,
                            Map processVariables)
                     throws Exception
Specified by:
updateProcess in interface org.mule.transport.bpm.BPMS
Throws:
Exception

getFoo

public String getFoo()

setFoo

public void setFoo(String foo)


Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.