Interface Objectionaries

  • All Known Implementing Classes:
    Objectionaries.Fake, ObjsDefault

    public interface Objectionaries
    Many objectionaries for different hashes.
    Since:
    0.29.6
    • Method Detail

      • object

        org.cactoos.Input object​(CommitHash hash,
                                 String name)
                          throws IOException
        Get object by hash and name.
        Parameters:
        hash - Commit hash
        name - Object name
        Returns:
        Object
        Throws:
        IOException - If some I/O problem happens.
      • contains

        boolean contains​(ObjectName name)
                  throws IOException
        Check if object exists.
        Parameters:
        name - Object name
        Returns:
        True if object exists, false otherwise
        Throws:
        IOException - If some I/O problem happens.