Package step.functions.runner
Class FunctionRunner.Context
- java.lang.Object
-
- step.functions.runner.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)
-
-
-
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 interfacejava.lang.AutoCloseable
- Specified by:
close
in interfacejava.io.Closeable
- Throws:
java.io.IOException
-
-