public class LockFileResult
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected FileLock |
lock |
protected Metadata |
metadata |
Constructor and Description |
---|
LockFileResult(Metadata metadata,
FileLock lock) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
FileLock |
getLock()
The file lock state after the operation.
|
Metadata |
getMetadata()
Metadata of the file.
|
int |
hashCode() |
java.lang.String |
toString() |
java.lang.String |
toStringMultiline()
Returns a String representation of this object formatted for easier
readability.
|
public Metadata getMetadata()
null
.public FileLock getLock()
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.