Package org.eolang.maven.hash
Class ChNarrow
- java.lang.Object
-
- org.eolang.maven.hash.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
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.eolang.maven.hash.CommitHash
CommitHash.ChConstant
-
-
Constructor Summary
Constructors Constructor Description ChNarrow(CommitHash full)
The main constructor.
-
-
-
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 interfaceCommitHash
- Specified by:
value
in interfaceorg.cactoos.Scalar<String>
- Returns:
- SHA of commit
-
-