public class JobResult extends Object
| Modifier and Type | Method and Description |
|---|---|
String |
getCloudToDeviceMethod()
Getter for cloud to device method json
|
Date |
getCreatedTime()
Getter for create time
|
String |
getDeviceId()
Getter for the device Id
|
Date |
getEndTime()
Getter for the end time UTC
Represents the time the job stopped processing
|
String |
getError()
getter for the error
|
String |
getFailureReason()
Getter for failure reason
|
String |
getJobId()
Getter for the Job identifier
|
JobStatistics |
getJobStatistics()
Getter for jobs statistics
|
JobStatus |
getJobStatus()
Getter for the jobs status
|
JobType |
getJobType()
Getter for the job type
|
Date |
getLastUpdatedDateTime()
Getter for last updated time in UTC
|
Long |
getMaxExecutionTimeInSeconds()
Getter for max execution time in seconds
|
String |
getOutcome()
Deprecated.
As of release 1.7.23, replaced by
getOutcomeResult() |
MethodResult |
getOutcomeResult()
Outcome for the device method job
|
String |
getParentJobId()
Getter for the parent jobId
|
String |
getQueryCondition()
Getter for query condition
|
Date |
getStartTime()
Getter for start time UTC
|
String |
getStatusMessage()
Getter for the status message
|
DeviceTwinDevice |
getUpdateTwin()
Getter for update twin json
|
String |
toString()
Return a string with a pretty print json with the content of this class
|
public String getJobId()
public String getQueryCondition()
public Date getCreatedTime()
public Date getStartTime()
public Date getEndTime()
public Long getMaxExecutionTimeInSeconds()
public JobType getJobType()
public JobStatus getJobStatus()
public String getCloudToDeviceMethod()
null if jobType
is not scheduleDeviceMethodpublic DeviceTwinDevice getUpdateTwin()
null if jobType
is not scheduleUpdateTwinpublic String getFailureReason()
nullpublic String getStatusMessage()
nullpublic JobStatistics getJobStatistics()
public String getDeviceId()
null
(e.g. in case of a parent orchestration)public String getParentJobId()
nullpublic Date getLastUpdatedDateTime()
@Deprecated public String getOutcome()
getOutcomeResult()public MethodResult getOutcomeResult()
public String getError()
Copyright © 2017. All rights reserved.