org.mule.tck.testmodels.mule
Class TestAgent
java.lang.Object
org.mule.tck.testmodels.mule.TestAgent
- All Implemented Interfaces:
- Agent, Disposable, Initialisable, Lifecycle, Startable, Stoppable, NameableObject, NamedObject
public class TestAgent
- extends Object
- implements Agent
Mock agent
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TestAgent
public TestAgent()
getName
public String getName()
- Specified by:
getName
in interface NamedObject
setName
public void setName(String name)
- Specified by:
setName
in interface NameableObject
getDescription
public String getDescription()
- Specified by:
getDescription
in interface Agent
initialise
public void initialise()
throws InitialisationException
- Specified by:
initialise
in interface Initialisable
- Throws:
InitialisationException
start
public void start()
throws MuleException
- Specified by:
start
in interface Startable
- Throws:
MuleException
stop
public void stop()
throws MuleException
- Specified by:
stop
in interface Stoppable
- Throws:
MuleException
dispose
public void dispose()
- Specified by:
dispose
in interface Disposable
getDependentAgents
public List<Class<? extends Agent>> getDependentAgents()
getFrobbit
public String getFrobbit()
setFrobbit
public void setFrobbit(String frobbit)
Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.