Package com.sforce.async
Class JobInfo
java.lang.Object
com.sforce.async.JobInfo
- All Implemented Interfaces:
XMLizable
Async Api JobInfo
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlonglongdoublebooleangetId()intintintintintintintintgetState()longvoidload(XmlInputStream __in, TypeMapper __typeMapper) load the fileds/children from the specified xml streamprotected voidloadFields(XmlInputStream __in, TypeMapper __typeMapper) voidsetApexProcessingTime(long apexProcessingTime) voidsetApiActiveProcessingTime(long apiActiveProcessingTime) voidsetApiVersion(double apiVersion) voidsetAssignmentRuleId(String assignmentRuleId) voidsetConcurrencyMode(ConcurrencyMode concurrencyMode) voidsetContentType(ContentType contentType) voidsetCreatedById(String createdById) voidsetCreatedDate(Calendar createdDate) voidsetExternalIdFieldName(String externalIdFieldName) voidsetFastPathEnabled(boolean fastPathEnabled) voidvoidsetNumberBatchesCompleted(int numberBatchesCompleted) voidsetNumberBatchesFailed(int numberBatchesFailed) voidsetNumberBatchesInProgress(int numberBatchesInProgress) voidsetNumberBatchesQueued(int numberBatchesQueued) voidsetNumberBatchesTotal(int numberBatchesTotal) voidsetNumberRecordsFailed(int numberRecordsFailed) voidsetNumberRecordsProcessed(int numberRecordsProcessed) voidsetNumberRetries(int numberRetries) voidvoidsetOperation(OperationEnum operation) voidsetState(JobStateEnum state) voidsetSystemModstamp(Calendar systemModstamp) voidsetTotalProcessingTime(long totalProcessingTime) toString()voidwrite(QName __element, XmlOutputStream __out, TypeMapper __typeMapper) write this instace as xml.protected voidwriteFields(XmlOutputStream __out, TypeMapper __typeMapper)
-
Constructor Details
-
JobInfo
public JobInfo()Constructor -
JobInfo
-
-
Method Details
-
getId
-
setId
-
getOperation
-
setOperation
-
getObject
-
setObject
-
getCreatedById
-
setCreatedById
-
getCreatedDate
-
setCreatedDate
-
getSystemModstamp
-
setSystemModstamp
-
getState
-
setState
-
getExternalIdFieldName
-
setExternalIdFieldName
-
getConcurrencyMode
-
setConcurrencyMode
-
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
-
setContentType
-
getApiVersion
public double getApiVersion() -
setApiVersion
public void setApiVersion(double apiVersion) -
getAssignmentRuleId
-
setAssignmentRuleId
-
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:XMLizablewrite this instace as xml.- Specified by:
writein interfaceXMLizable- Parameters:
__element- xml element name__out- xml output stream__typeMapper- type mapper to be used- Throws:
IOException- failed to write xml
-
writeFields
- Throws:
IOException
-
load
public void load(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException Description copied from interface:XMLizableload the fileds/children from the specified xml stream- Specified by:
loadin interfaceXMLizable- Parameters:
__in- xml input stream from which the data is read__typeMapper- type mapper to be used- Throws:
IOException- failed to read xmlConnectionException- failed to read/parser/bind xml
-
loadFields
protected void loadFields(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException - Throws:
IOExceptionConnectionException
-
toString
-