Package com.norconex.importer.response
Class ImporterResponse
java.lang.Object
com.norconex.importer.response.ImporterResponse
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionImporterResponse(Doc doc) ImporterResponse(String reference, ImporterResponse.Status status) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleangetDoc()inthashCode()booleanisError()booleanbooleansetDescription(String description) setException(ImporterException exception) setNestedResponses(List<ImporterResponse> nestedResponses) setReference(String reference) setRejectCause(Object rejectCause) setStatus(ImporterResponse.Status status) toString()
-
Field Details
-
EMPTY_RESPONSES
-
-
Constructor Details
-
ImporterResponse
-
ImporterResponse
-
-
Method Details
-
isSuccess
public boolean isSuccess() -
isRejected
public boolean isRejected() -
isError
public boolean isError() -
getNestedResponses
-
setNestedResponses
-
getStatus
-
getRejectCause
-
getException
-
getDescription
-
getReference
-
getDoc
-
getParentResponse
-
setStatus
- Returns:
this.
-
setRejectCause
- Returns:
this.
-
setException
- Returns:
this.
-
setDescription
- Returns:
this.
-
setReference
- Returns:
this.
-
setDoc
- Returns:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-