Class JFmi2LifecycleHandler

java.lang.Object
org.intocps.maestro.interpreter.extensions.BaseLifecycleHandler
org.intocps.maestro.interpreter.extensions.JFmi2LifecycleHandler
All Implemented Interfaces:
IValueLifecycleHandler, IDiscoverableRuntimeMablModule

public class JFmi2LifecycleHandler extends BaseLifecycleHandler
  • Constructor Details

    • JFmi2LifecycleHandler

      public JFmi2LifecycleHandler(File workingDirectory)
  • Method Details

    • destroy

      public void destroy(Value value)
      Description copied from interface: IValueLifecycleHandler
      Destruction of the initially created value. This serves as a clena up handle
      Specified by:
      destroy in interface IValueLifecycleHandler
      Overrides:
      destroy in class BaseLifecycleHandler
      Parameters:
      value - the value to destroy
    • instantiate

      public com.spencerwi.either.Either<Exception,Value> instantiate(List<Value> args)
      Description copied from interface: IValueLifecycleHandler
      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