Package org.polkadot.types.type
Class EventRecord
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.HashMap<K,V>
-
- java.util.LinkedHashMap<java.lang.String,Codec>
-
- org.polkadot.types.codec.Struct
-
- org.polkadot.types.type.EventRecord
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable,java.util.Map<java.lang.String,Codec>,Codec
public class EventRecord extends Struct
A record for anEvent(as specified by Metadata) with the specific Phase of application.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEventRecord.ApplyExtrinsicThe Phase where the extrinsic is appliedstatic classEventRecord.FinalizationThe Phase where the extrinsic is being Finalizedstatic classEventRecord.PhaseAnEnumTypethat indicates the specific phase where the EventRecord was generated
-
Constructor Summary
Constructors Constructor Description EventRecord(java.lang.Object value)
-
Method Summary
Modifier and Type Method Description EventgetEvent()TheEventthis record refers toEventRecord.PhasegetPhase()The Phase where the event was generated-
Methods inherited from class org.polkadot.types.codec.Struct
builder, eq, getEncodedLength, getField, isEmpty, toArray, toHex, toJson, toString, toU8a, with
-
Methods inherited from class java.util.LinkedHashMap
clear, containsValue, entrySet, forEach, get, getOrDefault, keySet, removeEldestEntry, replaceAll, values
-
Methods inherited from class java.util.HashMap
clone, compute, computeIfAbsent, computeIfPresent, containsKey, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, size
-
-
-
-
Method Detail
-
getPhase
public EventRecord.Phase getPhase()
The Phase where the event was generated
-
-