Interface IValueLifecycleHandler
-
- All Superinterfaces:
IDiscoverableRuntimeMablModule
- All Known Implementing Classes:
ArrayUtilLifecycleHandler,BaseLifecycleHandler,BooleanLogicLifecycleHandler,ConsolePrinterLifecycleHandler,CsvLifecycleHandler,DataWriterLifecycleHandler,DerivativeEstimatorLifecycleHandler,Fmi2LifecycleHandler,Fmi3LifecycleHandler,JavaClasspathLoaderLifecycleHandler,JFmi2LifecycleHandler,LoggerLifecycleHandler,MathLifecycleHandler,MEnvLifecycleHandler,ModelTransitionLifecycleHandler,RealTimeLifecycleHandler,SimulationControlDefaultLifecycleHandler,VariableStepLifecycleHandler
public interface IValueLifecycleHandler extends IDiscoverableRuntimeMablModule
Interface for dynamic runtime modules
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceIValueLifecycleHandler.ValueLifecycle
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddestroy(Value value)Destruction of the initially created value.com.spencerwi.either.Either<Exception,Value>instantiate(List<Value> args)Creates an instance of the module based on the given arguments-
Methods inherited from interface org.intocps.maestro.typechecker.api.IDiscoverableRuntimeMablModule
getMablModule
-
-
-
-
Method Detail
-
instantiate
com.spencerwi.either.Either<Exception,Value> instantiate(List<Value> args)
Creates an instance of the module based on the given arguments- Parameters:
args- the arguments to be used for the creation- Returns:
- either an exception or the value just created
-
destroy
void destroy(Value value)
Destruction of the initially created value. This serves as a clena up handle- Parameters:
value- the value to destroy
-
-