public class JobPropertiesParser extends Object
| Constructor and Description |
|---|
JobPropertiesParser()
Empty constructor: Used only to keep GSON happy.
|
JobPropertiesParser(String json)
Constructor for a JobPropertiesParser object that is built from the provided Json
|
| Modifier and Type | Method and Description |
|---|---|
Date |
getEndTimeUtc()
Getter for endTimeUtc
|
String |
getFailureReason()
Getter for failureReason
|
String |
getInputBlobContainerUri()
Getter for inputBlobContainerUri
|
String |
getJobId()
Deprecated.
as of Deps version 0.7.1, please use
getJobIdFinal() |
String |
getJobIdFinal()
Getter for jobId
|
String |
getOutputBlobContainerUri()
Getter for outputBlobContainerUri
|
int |
getProgress()
Getter for progress
|
Date |
getStartTimeUtc()
Getter for startTimeUtc
|
String |
getStatus()
Getter for status
|
String |
getType()
Getter for type
|
boolean |
isExcludeKeysInExport()
Getter for excludeKeysInExport
|
void |
setEndTimeUtc(Date endTimeUtc)
Setter for EndTimeUtc
|
void |
setExcludeKeysInExport(boolean excludeKeysInExport)
Setter for ExcludeKeysInExport
|
void |
setFailureReason(String failureReason)
Setter for FailureReason
|
void |
setInputBlobContainerUri(String inputBlobContainerUri)
Setter for InputBlobContainerUri
|
void |
setJobId(String jobId)
Setter for jobId
|
void |
setOutputBlobContainerUri(String outputBlobContainerUri)
Setter for OutputBlobContainerUri
|
void |
setProgress(int progress)
Setter for Progress
|
void |
setStartTimeUtc(Date startTimeUtc)
Setter for StartTimeUtc
|
void |
setStatus(String status)
Setter for Status
|
void |
setType(String type)
Setter for Type
|
String |
toJson()
Converts this into json and returns it
|
public JobPropertiesParser()
public JobPropertiesParser(String json) throws IllegalArgumentException
json - the json to build the JobPropertiesParser fromIllegalArgumentException - if the provided Json is null, empty, cannot be parsed,
or if the provided Json is missing any of the type, inputBlobContainerUri or outputBlobContainerUri fieldspublic String toJson()
public String getType()
public String getInputBlobContainerUri()
public String getOutputBlobContainerUri()
@Deprecated public String getJobId()
getJobIdFinal()public final String getJobIdFinal()
public void setJobId(String jobId) throws IllegalArgumentException
jobId - the value to set jobId toIllegalArgumentException - if the provided jobId is nullpublic Date getStartTimeUtc()
public Date getEndTimeUtc()
public String getStatus()
public int getProgress()
public boolean isExcludeKeysInExport()
public String getFailureReason()
public void setStartTimeUtc(Date startTimeUtc)
startTimeUtc - the value to set StartTimeUtc topublic void setEndTimeUtc(Date endTimeUtc)
endTimeUtc - the value to set EndTimeUtc topublic void setType(String type)
type - the value to set Type topublic void setStatus(String status)
status - the value to set Status topublic void setProgress(int progress)
progress - the value to set Progress topublic void setInputBlobContainerUri(String inputBlobContainerUri)
inputBlobContainerUri - the value to set InputBlobContainerUri topublic void setOutputBlobContainerUri(String outputBlobContainerUri)
outputBlobContainerUri - the value to set OutputBlobContainerUri topublic void setExcludeKeysInExport(boolean excludeKeysInExport)
excludeKeysInExport - the value to set ExcludeKeysInExport topublic void setFailureReason(String failureReason)
failureReason - the value to set FailureReason toCopyright © 2019. All rights reserved.