Interface IValueLifecycleHandler

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void destroy​(Value value)
      Destruction of the initially created value.
      com.spencerwi.either.Either<java.lang.Exception,​Value> instantiate​(java.util.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<java.lang.Exception,​Value> instantiate​(java.util.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