Package org.polkadot.types.primitive
Class Method.MethodFunction
- java.lang.Object
-
- org.polkadot.types.primitive.Method.MethodFunction
-
- All Implemented Interfaces:
IFunction
- Direct Known Subclasses:
Types.SubmittableExtrinsicFunction
- Enclosing class:
- Method
public abstract static class Method.MethodFunction extends java.lang.Object implements IFunction
-
-
Constructor Summary
Constructors Constructor Description MethodFunction()
-
Method Summary
Modifier and Type Method Description abstract Methodapply(java.lang.Object... args)byte[]getCallIndex()Modules.FunctionMetadatagetMeta()java.lang.StringgetMethod()java.lang.StringgetSection()voidsetCallIndex(byte[] callIndex)voidsetMeta(Modules.FunctionMetadata meta)voidsetMethod(java.lang.String method)voidsetSection(java.lang.String section)abstract java.lang.ObjecttoJson()
-
-
-
Method Detail
-
apply
public abstract Method apply(java.lang.Object... args)
-
toJson
public abstract java.lang.Object toJson()
-
getCallIndex
public byte[] getCallIndex()
-
setCallIndex
public void setCallIndex(byte[] callIndex)
-
getMeta
public Modules.FunctionMetadata getMeta()
-
setMeta
public void setMeta(Modules.FunctionMetadata meta)
-
getMethod
public java.lang.String getMethod()
-
setMethod
public void setMethod(java.lang.String method)
-
getSection
public java.lang.String getSection()
-
setSection
public void setSection(java.lang.String section)
-
-