public static interface JitterbitActivity.ExecutionContext
Modifier and Type | Method and Description |
---|---|
default JitterbitActivity.ActivityStatus |
getActivityStatus() |
Connection |
getConnection()
Returns a reference to the connection.
|
Map<String,String> |
getFunctionParameters()
Returns the configured properties associated with this activity.
|
Payload |
getRequestPayload()
Returns the request payload associated with this execution context.
|
Payload |
getResponsePayload()
Returns the response payload associated with this execution context.
|
boolean |
persistenceRequired()
Returns
true if persistence is required. |
default void |
setActivityStatus(JitterbitActivity.ActivityStatus status)
Update the activity status to SUCCESS_WITH_INFO or SUCCESS_WITH_WARNING from SUCCESS when
there is a need to let the operation know that there is extra information that the activity may return.
|
Connection getConnection()
Map<String,String> getFunctionParameters()
These are the properties defined within the adapter.json
that is part of the
bundled Connector JAR file.
boolean persistenceRequired()
true
if persistence is required.true
if persistence is requiredPayload getRequestPayload()
An activity can read the content from the payload (or the stream if it is available).
Payload getResponsePayload()
An activity can write the response to the payload either as a string or by attaching a stream to it.
default void setActivityStatus(JitterbitActivity.ActivityStatus status)
status
- default JitterbitActivity.ActivityStatus getActivityStatus()
Copyright © Jitterbit, Inc. Licensed under the Jitterbit Master Subscription Agreement.