public class ImporterResponse extends Object
Modifier and Type | Field and Description |
---|---|
static ImporterResponse[] |
EMPTY_RESPONSES |
Constructor and Description |
---|
ImporterResponse(ImporterDocument doc) |
ImporterResponse(String reference,
ImporterStatus status) |
Modifier and Type | Method and Description |
---|---|
void |
addNestedResponse(ImporterResponse response) |
boolean |
equals(Object other) |
ImporterDocument |
getDocument() |
ImporterStatus |
getImporterStatus() |
ImporterResponse[] |
getNestedResponses() |
ImporterResponse |
getParentResponse() |
String |
getReference() |
int |
hashCode() |
boolean |
isSuccess() |
void |
removeNestedResponse(String reference) |
void |
setImporterStatus(ImporterStatus status) |
String |
toString() |
public static final ImporterResponse[] EMPTY_RESPONSES
public ImporterResponse(String reference, ImporterStatus status)
public ImporterResponse(ImporterDocument doc)
public ImporterDocument getDocument()
public ImporterStatus getImporterStatus()
public void setImporterStatus(ImporterStatus status)
public boolean isSuccess()
public String getReference()
public ImporterResponse getParentResponse()
public void addNestedResponse(ImporterResponse response)
public void removeNestedResponse(String reference)
public ImporterResponse[] getNestedResponses()
Copyright © 2009–2021 Norconex Inc.. All rights reserved.