public interface ServicePluginContextBase
Modifier and Type | Method and Description |
---|---|
DagInfo |
getCurrentDagInfo()
Get information on the currently executing dag
|
UserPayload |
getInitialUserPayload()
Get the UserPayload that was configured while setting up the launcher
|
void |
reportError(ServicePluginError servicePluginError,
String message,
DagInfo dagInfo)
Report an error from the service.
|
UserPayload getInitialUserPayload()
@Nullable DagInfo getCurrentDagInfo()
void reportError(@Nonnull ServicePluginError servicePluginError, String message, DagInfo dagInfo)
servicePluginError
- the error categorymessage
- A diagnostic message associated with this errordagInfo
- the affected dagCopyright © 2016 Apache Software Foundation. All rights reserved.