public class EventDataJobResult extends Object
Connector.checkCustomerDataJobStatus(String)
).Modifier and Type | Class | Description |
---|---|---|
static class |
EventDataJobResult.Status |
Modifier and Type | Method | Description |
---|---|---|
String |
getJobID() |
|
EventDataJobResult.Status |
getStatus() |
Get the status.
|
String |
getStatusString() |
Get the status as a
String instead of as a EventDataJobResult.Status . |
static EventDataJobResult |
mock(String jid,
EventDataJobResult.Status status) |
Create a new
EventDataJobResult object (for testing purposes). |
public String getJobID()
public EventDataJobResult.Status getStatus()
public String getStatusString()
String
instead of as a EventDataJobResult.Status
.
Can be useful if getStatus()
returns EventDataJobResult.Status.UNKNOWN
, as that indicates a new status that is not available
in this version of the library.String
public static EventDataJobResult mock(String jid, EventDataJobResult.Status status)
EventDataJobResult
object (for testing purposes).jid
- The job ID.status
- The job status.EventDataJobResult
with the given job ID and status.Copyright © 2020 Apptus Technologies AB. All rights reserved.