Class BatchInfo
java.lang.Object
org.apache.camel.component.salesforce.api.dto.bulk.BatchInfo
Java class for BatchInfo complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="BatchInfo">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="id" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="jobId" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="state" type="{http://www.force.com/2009/06/asyncapi/dataload}BatchStateEnum"/>
<element name="stateMessage" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="createdDate" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
<element name="systemModstamp" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
<element name="numberRecordsProcessed" type="{http://www.w3.org/2001/XMLSchema}int"/>
<element name="numberRecordsFailed" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
<element name="totalProcessingTime" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
<element name="apiActiveProcessingTime" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
<element name="apexProcessingTime" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Longprotected Longprotected XMLGregorianCalendarprotected Stringprotected Stringprotected Integerprotected intprotected BatchStateEnumprotected Stringprotected XMLGregorianCalendarprotected Long -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the apexProcessingTime property.Gets the value of the apiActiveProcessingTime property.Gets the value of the createdDate property.getId()Gets the value of the id property.getJobId()Gets the value of the jobId property.Gets the value of the numberRecordsFailed property.intGets the value of the numberRecordsProcessed property.getState()Gets the value of the state property.Gets the value of the stateMessage property.Gets the value of the systemModstamp property.Gets the value of the totalProcessingTime property.voidsetApexProcessingTime(Long value) Sets the value of the apexProcessingTime property.voidsetApiActiveProcessingTime(Long value) Sets the value of the apiActiveProcessingTime property.voidSets the value of the createdDate property.voidSets the value of the id property.voidSets the value of the jobId property.voidsetNumberRecordsFailed(Integer value) Sets the value of the numberRecordsFailed property.voidsetNumberRecordsProcessed(int value) Sets the value of the numberRecordsProcessed property.voidsetState(BatchStateEnum value) Sets the value of the state property.voidsetStateMessage(String value) Sets the value of the stateMessage property.voidSets the value of the systemModstamp property.voidsetTotalProcessingTime(Long value) Sets the value of the totalProcessingTime property.
-
Field Details
-
id
-
jobId
-
state
-
stateMessage
-
createdDate
-
systemModstamp
-
numberRecordsProcessed
protected int numberRecordsProcessed -
numberRecordsFailed
-
totalProcessingTime
-
apiActiveProcessingTime
-
apexProcessingTime
-
-
Constructor Details
-
BatchInfo
public BatchInfo()
-
-
Method Details
-
getId
Gets the value of the id property.- Returns:
- possible object is
String
-
setId
Sets the value of the id property.- Parameters:
value- allowed object isString
-
getJobId
Gets the value of the jobId property.- Returns:
- possible object is
String
-
setJobId
Sets the value of the jobId property.- Parameters:
value- allowed object isString
-
getState
Gets the value of the state property.- Returns:
- possible object is
BatchStateEnum
-
setState
Sets the value of the state property.- Parameters:
value- allowed object isBatchStateEnum
-
getStateMessage
Gets the value of the stateMessage property.- Returns:
- possible object is
String
-
setStateMessage
Sets the value of the stateMessage property.- Parameters:
value- allowed object isString
-
getCreatedDate
Gets the value of the createdDate property.- Returns:
- possible object is
XMLGregorianCalendar
-
setCreatedDate
Sets the value of the createdDate property.- Parameters:
value- allowed object isXMLGregorianCalendar
-
getSystemModstamp
Gets the value of the systemModstamp property.- Returns:
- possible object is
XMLGregorianCalendar
-
setSystemModstamp
Sets the value of the systemModstamp property.- Parameters:
value- allowed object isXMLGregorianCalendar
-
getNumberRecordsProcessed
public int getNumberRecordsProcessed()Gets the value of the numberRecordsProcessed property. -
setNumberRecordsProcessed
public void setNumberRecordsProcessed(int value) Sets the value of the numberRecordsProcessed property. -
getNumberRecordsFailed
Gets the value of the numberRecordsFailed property.- Returns:
- possible object is
Integer
-
setNumberRecordsFailed
Sets the value of the numberRecordsFailed property.- Parameters:
value- allowed object isInteger
-
getTotalProcessingTime
Gets the value of the totalProcessingTime property.- Returns:
- possible object is
Long
-
setTotalProcessingTime
Sets the value of the totalProcessingTime property.- Parameters:
value- allowed object isLong
-
getApiActiveProcessingTime
Gets the value of the apiActiveProcessingTime property.- Returns:
- possible object is
Long
-
setApiActiveProcessingTime
Sets the value of the apiActiveProcessingTime property.- Parameters:
value- allowed object isLong
-
getApexProcessingTime
Gets the value of the apexProcessingTime property.- Returns:
- possible object is
Long
-
setApexProcessingTime
Sets the value of the apexProcessingTime property.- Parameters:
value- allowed object isLong
-