Interface IValueLifecycleHandler
-
- All Superinterfaces:
IDiscoverableRuntimeMablModule
- All Known Implementing Classes:
DefaultExternalValueFactory.ArrayUtilLifecycleHandler,DefaultExternalValueFactory.BaseLifecycleHandler,DefaultExternalValueFactory.BooleanLogicLifecycleHandler,DefaultExternalValueFactory.ConsolePrinterLifecycleHandler,DefaultExternalValueFactory.CsvLifecycleHandler,DefaultExternalValueFactory.DataWriterLifecycleHandler,DefaultExternalValueFactory.DerivativeEstimatorLifecycleHandler,DefaultExternalValueFactory.Fmi2LifecycleHandler,DefaultExternalValueFactory.JavaClasspathLoaderLifecycleHandler,DefaultExternalValueFactory.JFmi2LifecycleHandler,DefaultExternalValueFactory.LoggerLifecycleHandler,DefaultExternalValueFactory.MathLifecycleHandler,DefaultExternalValueFactory.MEnvLifecycleHandler,DefaultExternalValueFactory.ModelTransitionLifecycleHandler,DefaultExternalValueFactory.RealTimeLifecycleHandler,DefaultExternalValueFactory.SimulationControlDefaultLifecycleHandler,DefaultExternalValueFactory.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
-
-