Class ChCached

  • All Implemented Interfaces:
    org.cactoos.Scalar<String>, CommitHash

    public final class ChCached
    extends Object
    implements CommitHash
    Cached commit hash.
    Since:
    0.28.11
    • Constructor Detail

      • ChCached

        public ChCached​(CommitHash delegate)
        Default constructor.
        Parameters:
        delegate - Delegate
    • Method Detail

      • value

        public String value()
        Description copied from interface: CommitHash
        SHA Hash.
        Specified by:
        value in interface CommitHash
        Specified by:
        value in interface org.cactoos.Scalar<String>
        Returns:
        SHA of commit