| java.lang.Object | ||
| ↳ | com.google.gdata.model.Element | |
| ↳ | com.google.gdata.model.batch.BatchInterrupted | |
Signals that feed processing was interrupted.
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| CONTENT_TYPE | The MIME type of the content of this element. | ||||||||||
| ERROR_COUNT | The number of entries for which processing failed. | ||||||||||
| KEY | The key for this element. | ||||||||||
| REASON | The reason. | ||||||||||
| SKIPPED_COUNT | The number of entries parsed but not processed. | ||||||||||
| SUCCESS_COUNT | The number of entries processed successfully. | ||||||||||
| TOTAL_COUNT | The number of entries that were parsed. | ||||||||||
|
[Expand]
Inherited Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.gdata.model.Element
| |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Default mutable constructor.
| |||||||||||
Creates and initializes a BatchInterrupted object.
| |||||||||||
Creates and initializes a BatchInterrupted object.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Returns the error message explaining what went wrong while processing the
request.
| |||||||||||
Returns the MIME type of the content of this element.
| |||||||||||
Returns the number of entries for which processing failed.
| |||||||||||
Returns the reason.
| |||||||||||
Returns the number of entries parsed but not processed.
| |||||||||||
Returns the number of entries processed successfully.
| |||||||||||
Returns the number of entries that were parsed.
| |||||||||||
Returns whether it has the error message explaining what went wrong while
processing the request.
| |||||||||||
Returns whether it has the MIME type of the content of this element.
| |||||||||||
Returns true if the error count exists.
| |||||||||||
Returns whether it has the reason.
| |||||||||||
Returns whether it has the number of entries parsed but not processed.
| |||||||||||
Returns whether it has the number of entries processed successfully.
| |||||||||||
Returns whether it has the number of entries that were parsed.
| |||||||||||
Registers the metadata for this element.
| |||||||||||
Sets the error message explaining what went wrong while processing the
request.
| |||||||||||
Sets the MIME type of the content of this element.
| |||||||||||
Sets the number of entries for which processing failed.
| |||||||||||
Sets the reason.
| |||||||||||
Sets the number of entries parsed but not processed.
| |||||||||||
Sets the number of entries processed successfully.
| |||||||||||
Sets the number of entries that were parsed.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.gdata.model.Element
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
com.google.gdata.data.batch.IBatchInterrupted
| |||||||||||
The MIME type of the content of this element.
The number of entries for which processing failed.
The number of entries parsed but not processed.
The number of entries processed successfully.
Default mutable constructor.
Creates and initializes a BatchInterrupted object.
| reason | Exception that caused batch processing to stop |
|---|---|
| totalCount | Number of entries parsed so far, note that
it is to be expected that totalCount >= successCount + errorCount |
| successCount | Number of entries processed successfully so far |
| errorCount | Number of entries rejected so far |
| IllegalArgumentException | if the total count is less than successCount - errorCount |
|---|
Creates and initializes a BatchInterrupted object.
| cause | Exception that caused batch processing to stop |
|---|---|
| totalCount | Number of entries parsed so far, note that
it is to be expected that totalCount >= successCount + errorCount |
| successCount | Number of entries processed successfully so far |
| errorCount | Number of entries rejected so far |
| obj |
|---|
Returns the error message explaining what went wrong while processing the request.
Returns the MIME type of the content of this element.
Returns the number of entries for which processing failed.
Returns the reason.
Returns the number of entries parsed but not processed.
Returns the number of entries processed successfully.
Returns the number of entries that were parsed.
Returns whether it has the error message explaining what went wrong while processing the request.
Returns whether it has the MIME type of the content of this element.
Returns true if the error count exists.
Returns whether it has the reason.
Returns whether it has the number of entries parsed but not processed.
Returns whether it has the number of entries processed successfully.
Returns whether it has the number of entries that were parsed.
Registers the metadata for this element.
| registry |
|---|
Sets the error message explaining what went wrong while processing the request.
| content | Error message explaining what went wrong while processing
the request or null to reset
|
|---|
Sets the MIME type of the content of this element.
| contentType | MIME type of the content of this element or
null to reset
|
|---|
Sets the number of entries for which processing failed.
| errorCount | Number of entries for which processing failed or
null to reset
|
|---|
Sets the reason.
| reason | Reason or null to reset
|
|---|
Sets the number of entries parsed but not processed.
| skippedCount | Number of entries parsed but not processed or
null to reset
|
|---|
Sets the number of entries processed successfully.
| successCount | Number of entries processed successfully or
null to reset
|
|---|
Sets the number of entries that were parsed.
| totalCount | Number of entries that were parsed or null
to reset
|
|---|