com.sforce.async
Class JobInfo
java.lang.Object
com.sforce.async.JobInfo
- All Implemented Interfaces:
- XMLizable
public class JobInfo
- extends Object
- implements XMLizable
Async Api JobInfo
JobInfo
public JobInfo()
- Constructor
JobInfo
public JobInfo(JobInfo.Builder builder)
getId
public String getId()
setId
public void setId(String id)
getOperation
public OperationEnum getOperation()
setOperation
public void setOperation(OperationEnum operation)
getObject
public String getObject()
setObject
public void setObject(String object)
getCreatedById
public String getCreatedById()
setCreatedById
public void setCreatedById(String createdById)
getCreatedDate
public Calendar getCreatedDate()
setCreatedDate
public void setCreatedDate(Calendar createdDate)
getSystemModstamp
public Calendar getSystemModstamp()
setSystemModstamp
public void setSystemModstamp(Calendar systemModstamp)
getState
public JobStateEnum getState()
setState
public void setState(JobStateEnum state)
getExternalIdFieldName
public String getExternalIdFieldName()
setExternalIdFieldName
public void setExternalIdFieldName(String externalIdFieldName)
getConcurrencyMode
public ConcurrencyMode getConcurrencyMode()
setConcurrencyMode
public void setConcurrencyMode(ConcurrencyMode concurrencyMode)
getFastPathEnabled
public boolean getFastPathEnabled()
setFastPathEnabled
public void setFastPathEnabled(boolean fastPathEnabled)
getNumberBatchesQueued
public int getNumberBatchesQueued()
setNumberBatchesQueued
public void setNumberBatchesQueued(int numberBatchesQueued)
getNumberBatchesInProgress
public int getNumberBatchesInProgress()
setNumberBatchesInProgress
public void setNumberBatchesInProgress(int numberBatchesInProgress)
getNumberBatchesCompleted
public int getNumberBatchesCompleted()
setNumberBatchesCompleted
public void setNumberBatchesCompleted(int numberBatchesCompleted)
getNumberBatchesFailed
public int getNumberBatchesFailed()
setNumberBatchesFailed
public void setNumberBatchesFailed(int numberBatchesFailed)
getNumberBatchesTotal
public int getNumberBatchesTotal()
setNumberBatchesTotal
public void setNumberBatchesTotal(int numberBatchesTotal)
getNumberRecordsProcessed
public int getNumberRecordsProcessed()
setNumberRecordsProcessed
public void setNumberRecordsProcessed(int numberRecordsProcessed)
getNumberRetries
public int getNumberRetries()
setNumberRetries
public void setNumberRetries(int numberRetries)
getContentType
public ContentType getContentType()
setContentType
public void setContentType(ContentType contentType)
getApiVersion
public double getApiVersion()
setApiVersion
public void setApiVersion(double apiVersion)
getAssignmentRuleId
public String getAssignmentRuleId()
setAssignmentRuleId
public void setAssignmentRuleId(String assignmentRuleId)
getNumberRecordsFailed
public int getNumberRecordsFailed()
setNumberRecordsFailed
public void setNumberRecordsFailed(int numberRecordsFailed)
getTotalProcessingTime
public long getTotalProcessingTime()
setTotalProcessingTime
public void setTotalProcessingTime(long totalProcessingTime)
getApiActiveProcessingTime
public long getApiActiveProcessingTime()
setApiActiveProcessingTime
public void setApiActiveProcessingTime(long apiActiveProcessingTime)
getApexProcessingTime
public long getApexProcessingTime()
setApexProcessingTime
public void setApexProcessingTime(long apexProcessingTime)
write
public void write(QName __element,
XmlOutputStream __out,
TypeMapper __typeMapper)
throws IOException
- Description copied from interface:
XMLizable
- write this instace as xml.
- Specified by:
write in interface XMLizable
- Parameters:
__element - xml element name__out - xml output stream__typeMapper - type mapper to be used
- Throws:
IOException - failed to write xml
writeFields
protected void writeFields(XmlOutputStream __out,
TypeMapper __typeMapper)
throws IOException
- Throws:
IOException
load
public void load(XmlInputStream __in,
TypeMapper __typeMapper)
throws IOException,
ConnectionException
- Description copied from interface:
XMLizable
- load the fileds/children from the specified xml stream
- Specified by:
load in interface XMLizable
- Parameters:
__in - xml input stream from which the data is read__typeMapper - type mapper to be used
- Throws:
IOException - failed to read xml
ConnectionException - failed to read/parser/bind xml
loadFields
protected void loadFields(XmlInputStream __in,
TypeMapper __typeMapper)
throws IOException,
ConnectionException
- Throws:
IOException
ConnectionException
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2014. All Rights Reserved.