|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbe.ac.ulg.montefiore.run.totem.domain.model.impl.RerouteMethodManager
public class RerouteMethodManager
Create and start reroute methods.
Creation date: 11/05/2007
Method Summary | |
---|---|
java.util.List<java.lang.Class> |
getAvailableRerouteMethods()
|
static RerouteMethodManager |
getInstance()
Returns the unique instance of NetworkControllerManager . |
java.util.List<ParameterDescriptor> |
getStartParameters(java.lang.String name)
|
RerouteMethod |
setRerouteMethod(Domain domain,
java.lang.String className,
java.util.HashMap<java.lang.String,java.lang.String> params)
Create an instance of a RerouteMethod object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static RerouteMethodManager getInstance()
NetworkControllerManager
.
NetworkControllerManager
.public RerouteMethod setRerouteMethod(Domain domain, java.lang.String className, java.util.HashMap<java.lang.String,java.lang.String> params) throws InvalidRerouteMethodException, RerouteMethodInitialisationException
Domain.setRerouteMethod(be.ac.ulg.montefiore.run.totem.domain.model.RerouteMethod)
.
domain
- Domain on which to start the reroute method.className
- The short name of the method (simple name of the class).params
- The method-specific parameters.
InvalidRerouteMethodException
- Thrown if the method does not exists in preferences.
RerouteMethodInitialisationException
public java.util.List<java.lang.Class> getAvailableRerouteMethods()
public java.util.List<ParameterDescriptor> getStartParameters(java.lang.String name) throws InvalidRerouteMethodException
InvalidRerouteMethodException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |