Package org.polkadot.types.type
Class Digest.DigestItem
- java.lang.Object
-
- org.polkadot.types.codec.Base<Codec>
-
- org.polkadot.types.codec.EnumType
-
- org.polkadot.types.type.Digest.DigestItem
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.polkadot.types.codec.EnumType
EnumType.EnumConstructor<T extends Codec>
-
-
Constructor Summary
Constructors Constructor Description DigestItem(java.lang.Object value)
-
Method Summary
Modifier and Type Method Description Vector<AuthorityId>getAsAuthoritiesChange()Returns the item as a AuthoritiesChangeDigest.ChangesTrieRootgetAsChangesTrieRoot()Returns the item as a ChangesTrieRootDigest.ConsensusgetAsConsensus()Digest.OthergetAsOther()Returns the item as a OtherDigest.SealgetAsSeal()Returns the item as a SealbooleanisConsensus()Returns true on ConsensusbooleanisSeal()Returns true on Seal-
Methods inherited from class org.polkadot.types.codec.EnumType
eq, getEncodedLength, getType, index, isEmpty, isNone, isNull, isType, toHex, toJson, toNumber, toString, toU8a, value, with
-
-
-
-
Method Detail
-
getAsAuthoritiesChange
public Vector<AuthorityId> getAsAuthoritiesChange()
Returns the item as a AuthoritiesChange
-
getAsChangesTrieRoot
public Digest.ChangesTrieRoot getAsChangesTrieRoot()
Returns the item as a ChangesTrieRoot
-
getAsConsensus
public Digest.Consensus getAsConsensus()
-
getAsOther
public Digest.Other getAsOther()
Returns the item as a Other
-
getAsSeal
public Digest.Seal getAsSeal()
Returns the item as a Seal
-
isConsensus
public boolean isConsensus()
Returns true on Consensus
-
isSeal
public boolean isSeal()
Returns true on Seal
-
-