Class ChNarrow

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

    public final class ChNarrow
    extends Object
    implements CommitHash
    Short version of hash.
    Since:
    0.28.11
    • Constructor Detail

      • ChNarrow

        public ChNarrow​(CommitHash full)
        The main constructor.
        Parameters:
        full - 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