public final class GloopInvoker extends Object
Constructor and Description |
---|
GloopInvoker() |
Modifier and Type | Method and Description |
---|---|
static GloopModel |
gloop(GloopModel input,
GloopExecutionContext context,
String name)
Runs a gloop service using its
name with provided input . |
static GloopModel |
gloop(GloopModel input,
String name)
Runs a gloop service using its
name with provided input , automatically creating
an execution context. |
static GloopModel |
gloop(String name,
Collection inputs)
Runs a gloop service using its
name with provided inputs , automatically creating
an execution context. |
static GloopModel |
gloop(String name,
GloopExecutionContext context,
Map inputs)
Runs a gloop service using its
name with provided inputs . |
static GloopModel |
gloop(String name,
GloopExecutionContext context,
Object... inputs)
Runs a gloop service using its
name with provided inputs . |
static GloopModel |
gloop(String name,
GloopModel input)
Runs a gloop service using its
name with provided input , automatically creating
an execution context. |
static GloopModel |
gloop(String name,
Map inputs)
Runs a gloop service using its
name with provided inputs , automatically creating
an execution context. |
static GloopModel |
gloop(String name,
Object... inputs)
Runs a gloop service using its
name with provided inputs , automatically creating
an execution context. |
public static GloopModel gloop(String name, Object... inputs) throws GloopException
name
with provided inputs
, automatically creating
an execution context.name
- name of the gloop serviceinputs
- the inputs to be passed to the gloop service, following the order defined on the serviceGloopException
public static GloopModel gloop(String name, Collection inputs) throws GloopException
name
with provided inputs
, automatically creating
an execution context.name
- name of the gloop serviceinputs
- the inputs to be passed to the gloop service, following the order defined on the serviceGloopException
public static GloopModel gloop(String name, Map inputs) throws GloopException
name
with provided inputs
, automatically creating
an execution context.name
- name of the gloop serviceinputs
- the inputs to be passed to the gloop serviceGloopException
public static GloopModel gloop(String name, GloopModel input) throws GloopException
name
with provided input
, automatically creating
an execution context.name
- name of the gloop serviceinput
- model that contains the inputs to be passed to the gloop service (empty by default)GloopException
public static GloopModel gloop(GloopModel input, String name) throws GloopException
name
with provided input
, automatically creating
an execution context.input
- model that contains the inputs to be passed to the gloop servicename
- name of the gloop serviceGloopException
public static GloopModel gloop(String name, GloopExecutionContext context, Object... inputs) throws GloopException
name
with provided inputs
. Note that context
must
be closed if there are any object that needs to be closed (e.g. database connections and cursors)
or use sibling methods to automatically create and close the context.name
- name of the gloop servicecontext
- execution context for the serviceinputs
- the inputs to be passed to the gloop service, following the order defined on the serviceGloopException
public static GloopModel gloop(String name, GloopExecutionContext context, Map inputs) throws GloopException
name
with provided inputs
. Note that context
must
be closed if there are any object that needs to be closed (e.g. database connections and cursors)
or use sibling methods to automatically create and close the context.name
- name of the gloop servicecontext
- execution context for the serviceinputs
- the inputs to be passed to the gloop serviceGloopException
public static GloopModel gloop(GloopModel input, GloopExecutionContext context, String name) throws GloopException
name
with provided input
. Note that context
must
be closed if there are any object that needs to be closed (e.g. database connections and cursors)
or use sibling methods to automatically create and close the context.input
- model that contains the inputs to be passed to the gloop servicecontext
- execution context for the servicename
- name of the gloop serviceGloopException
Copyright © 2023. All rights reserved.