Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Optional<T> |
getOrLog(String name,
Logger logger)
Gets an object or otherwise logs a message describing what went wrong.
|
Path |
getPath()
The path an object was not found at.
|
String |
getReason()
The reason an object could not be found.
|
int |
hashCode() |
String |
toString() |
public Optional<T> getOrLog(String name, Logger logger)
Findable
getOrLog
in interface Findable<T>
name
- the name of the object to find, as may appear in the log.logger
- the logger.Optional.empty()
.public Path getPath()
public String getReason()
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.