org.mule.module.bpm.test
Class TestBpms

java.lang.Object
  extended by org.mule.module.bpm.test.TestBpms
All Implemented Interfaces:
NameableObject, NamedObject, BPMS

public class TestBpms
extends Object
implements BPMS

Dummy BPMS for unit testing.


Constructor Summary
TestBpms()
           
 
Method Summary
 void abortProcess(Object processId)
           
 Object advanceProcess(Object processId, Object transition, Map processVariables)
           
 void deployProcess(String resource)
           
 String getFoo()
           
 Object getId(Object process)
           
 String getName()
           
 Object getState(Object process)
           
 boolean hasEnded(Object process)
           
 boolean isProcess(Object obj)
           
 Object lookupProcess(Object processId)
           
 void setFoo(String foo)
           
 void setMessageService(MessageService msgService)
           
 void setName(String name)
           
 Object startProcess(Object processType, Object transition, Map processVariables)
           
 void undeployProcess(String resource)
           
 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 BPMS
Throws:
Exception

advanceProcess

public Object advanceProcess(Object processId,
                             Object transition,
                             Map processVariables)
                      throws Exception
Specified by:
advanceProcess in interface BPMS
Throws:
Exception

getId

public Object getId(Object process)
             throws Exception
Specified by:
getId in interface BPMS
Throws:
Exception

getState

public Object getState(Object process)
                throws Exception
Specified by:
getState in interface BPMS
Throws:
Exception

hasEnded

public boolean hasEnded(Object process)
                 throws Exception
Specified by:
hasEnded in interface BPMS
Throws:
Exception

isProcess

public boolean isProcess(Object obj)
                  throws Exception
Specified by:
isProcess in interface BPMS
Throws:
Exception

lookupProcess

public Object lookupProcess(Object processId)
                     throws Exception
Specified by:
lookupProcess in interface BPMS
Throws:
Exception

setMessageService

public void setMessageService(MessageService msgService)
Specified by:
setMessageService in interface BPMS

startProcess

public Object startProcess(Object processType,
                           Object transition,
                           Map processVariables)
                    throws Exception
Specified by:
startProcess in interface BPMS
Throws:
Exception

updateProcess

public Object updateProcess(Object processId,
                            Map processVariables)
                     throws Exception
Specified by:
updateProcess in interface BPMS
Throws:
Exception

getFoo

public String getFoo()

setFoo

public void setFoo(String foo)

deployProcess

public void deployProcess(String resource)
                   throws Exception
Specified by:
deployProcess in interface BPMS
Throws:
Exception

undeployProcess

public void undeployProcess(String resource)
                     throws Exception
Specified by:
undeployProcess in interface BPMS
Throws:
Exception

getName

public String getName()
Specified by:
getName in interface NamedObject

setName

public void setName(String name)
Specified by:
setName in interface NameableObject


Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.