Package org.polkadot.types.type
Class EventRecord.Phase
- java.lang.Object
-
- org.polkadot.types.codec.Base<Codec>
-
- org.polkadot.types.codec.EnumType
-
- org.polkadot.types.type.EventRecord.Phase
-
- All Implemented Interfaces:
Codec
- Enclosing class:
- EventRecord
public static class EventRecord.Phase extends EnumType
AnEnumTypethat indicates the specific phase where the EventRecord was generated
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.polkadot.types.codec.EnumType
EnumType.EnumConstructor<T extends Codec>
-
-
Method Summary
Modifier and Type Method Description EventRecord.ApplyExtrinsicasApplyExtrinsic()Returns the item as a ApplyExtrinsicEventRecord.FinalizationasFinalization()Returns the item as a FinalizationbooleanisApplyExtrinsic()true when this is a ApplyExtrinsicbooleanisFinalization()true when this is a ApplyExtrinsic-
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
-
asApplyExtrinsic
public EventRecord.ApplyExtrinsic asApplyExtrinsic()
Returns the item as a ApplyExtrinsic
-
asFinalization
public EventRecord.Finalization asFinalization()
Returns the item as a Finalization
-
isApplyExtrinsic
public boolean isApplyExtrinsic()
true when this is a ApplyExtrinsic
-
isFinalization
public boolean isFinalization()
true when this is a ApplyExtrinsic
-
-