public class ExportResult
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
ExportResult.Serializer
For internal use only.
|
Modifier and Type | Field and Description |
---|---|
protected ExportMetadata |
exportMetadata |
protected FileMetadata |
fileMetadata |
Constructor and Description |
---|
ExportResult(ExportMetadata exportMetadata,
FileMetadata fileMetadata) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
ExportMetadata |
getExportMetadata()
Metadata for the exported version of the file.
|
FileMetadata |
getFileMetadata()
Metadata for the original file.
|
int |
hashCode() |
java.lang.String |
toString() |
java.lang.String |
toStringMultiline()
Returns a String representation of this object formatted for easier
readability.
|
protected final ExportMetadata exportMetadata
protected final FileMetadata fileMetadata
public ExportResult(ExportMetadata exportMetadata, FileMetadata fileMetadata)
exportMetadata
- Metadata for the exported version of the file.
Must not be null
.fileMetadata
- Metadata for the original file. Must not be null
.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public ExportMetadata getExportMetadata()
null
.public FileMetadata getFileMetadata()
null
.public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toStringMultiline()
The returned String may contain newlines.