public final class MethodMissingMetaData
extends java.lang.Object
MethodMissing.methodMissing(String, Object, AsyncResult), or
synchronous - in this case the method will be invoked via MethodMissing##methodMissing(String, Object)
| Constructor and Description |
|---|
MethodMissingMetaData(boolean reportResult,
boolean isAsync)
Constructs
MethodMissingMetaData with given flags. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isAsync()
Tells whether the execution of the method this object is meta information for should be performed
asynchronously, i.e., via the
MethodMissing.methodMissing(String, Object, AsyncResult) method
or synchronously - via the MethodMissing.methodMissing(String, Object) method. |
boolean |
reportResult()
Tells whether the execution of the method this object is meta information for should be reported
to the script launcher user as partial result of the Task execution.
|
public MethodMissingMetaData(boolean reportResult,
boolean isAsync)
MethodMissingMetaData with given flags.reportResult - should be true if the method execution should be reported
as partial result to the script launcher user, false otherwise.isAsync - should be true if the method execution should be performed asynchronously,
false otherwise.public boolean reportResult()
true if the method execution should be reported
as partial result to the script launcher user, false otherwise.public boolean isAsync()
MethodMissing.methodMissing(String, Object, AsyncResult) method
or synchronously - via the MethodMissing.methodMissing(String, Object) method.true if the method execution should be performed asynchronously,
false otherwise.Copyright © 2019 Bosch Software Innovations GmbH. All Rights Reserved.