Class FunctionRunner.Context

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable
    Enclosing class:
    FunctionRunner

    public static class FunctionRunner.Context
    extends java.lang.Object
    implements java.io.Closeable
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected Context​(ch.exense.commons.app.Configuration configuration, AbstractFunctionType<?> functionType, java.util.Map<java.lang.String,​java.lang.String> properties)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      step.functions.io.Output<javax.json.JsonObject> run​(Function function, java.lang.String argument)  
      step.functions.io.Output<javax.json.JsonObject> run​(Function function, javax.json.JsonObject argument)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Context

        protected Context​(ch.exense.commons.app.Configuration configuration,
                          AbstractFunctionType<?> functionType,
                          java.util.Map<java.lang.String,​java.lang.String> properties)
    • Method Detail

      • run

        public step.functions.io.Output<javax.json.JsonObject> run​(Function function,
                                                                   java.lang.String argument)
      • run

        public step.functions.io.Output<javax.json.JsonObject> run​(Function function,
                                                                   javax.json.JsonObject argument)
      • close

        public void close()
                   throws java.io.IOException
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable
        Throws:
        java.io.IOException