Package org.eolang.maven.objectionary
Class OyFilesystem
- java.lang.Object
-
- org.eolang.maven.objectionary.OyFilesystem
-
- All Implemented Interfaces:
Objectionary
public final class OyFilesystem extends Object implements Objectionary
Objectionary stored locally in the filesystem. The aim of this class is to download object sources directly from the filesystem, for example, from the project itself. It is useful for testing purposes. The difference withOyHomeis that OyHome downloads object sources from the shared cash folder, and OyFilesystemSources downloads object sources from the particular project folder - from the source code of the project itself.- Since:
- 0.30
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.eolang.maven.objectionary.Objectionary
Objectionary.Fake
-
-
Constructor Summary
Constructors Constructor Description OyFilesystem()Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancontains(String name)Checks whether an Objectionary contains a provided object.org.cactoos.Inputget(String name)Resolve object.
-
-
-
Method Detail
-
get
public org.cactoos.Input get(String name)
Description copied from interface:ObjectionaryResolve object.- Specified by:
getin interfaceObjectionary- Parameters:
name- Object name.- Returns:
- Object code.
-
contains
public boolean contains(String name)
Description copied from interface:ObjectionaryChecks whether an Objectionary contains a provided object.- Specified by:
containsin interfaceObjectionary- Parameters:
name- Object name.- Returns:
- Boolean: "true" if found, "false" if not.
-
-