Package org.eolang.maven.objectionary
Class OyHome
- java.lang.Object
-
- org.eolang.maven.objectionary.OyHome
-
- All Implemented Interfaces:
Objectionary
public final class OyHome extends Object implements Objectionary
Objectionary stored locally.- Since:
- 1.0
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
contains(String name)
Checks whether an Objectionary contains a provided object.org.cactoos.Input
get(String name)
Resolve object.String
toString()
-
-
-
Constructor Detail
-
OyHome
public OyHome(CommitHash hash, Path path)
Ctor.- Parameters:
hash
- Commit hash.path
- Root.
-
-
Method Detail
-
get
public org.cactoos.Input get(String name) throws FileNotFoundException
Description copied from interface:Objectionary
Resolve object.- Specified by:
get
in interfaceObjectionary
- Parameters:
name
- Object name.- Returns:
- Object code.
- Throws:
FileNotFoundException
-
contains
public boolean contains(String name)
Description copied from interface:Objectionary
Checks whether an Objectionary contains a provided object.- Specified by:
contains
in interfaceObjectionary
- Parameters:
name
- Object name.- Returns:
- Boolean: "true" if found, "false" if not.
-
-