Class ManifestMethod
- java.lang.Object
-
- jrpc.clightning.plugins.rpcmethods.AbstractRPCMethod
-
- jrpc.clightning.plugins.rpcmethods.manifest.ManifestMethod
-
- All Implemented Interfaces:
ICLightningRPCMethod
public class ManifestMethod extends AbstractRPCMethod
-
-
Field Summary
-
Fields inherited from class jrpc.clightning.plugins.rpcmethods.AbstractRPCMethod
description, longDescription, name, usage
-
-
Constructor Summary
Constructors Constructor Description ManifestMethod()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addFeature(java.lang.String node, java.lang.String channel, java.lang.String init, java.lang.String invoice)
void
addHook(java.lang.String hook)
void
addMethod(AbstractRPCMethod method)
void
addMethods(java.util.List<AbstractRPCMethod> methods)
void
addNotification(java.lang.String methodName)
void
addOption(Option option)
void
addSubscriptions(java.lang.String subscription)
void
doRun(ICLightningPlugin plugin, CLightningJsonObject request, CLightningJsonObject response)
java.lang.Boolean
getDynamic()
Features
getFeatures()
java.util.List<java.lang.String>
getHooks()
java.util.Set<Notification>
getNotifications()
java.util.List<Option>
getOptions()
java.util.List<AbstractRPCMethod>
getRpcMethods()
java.util.List<java.lang.String>
getSubscriptions()
void
setDynamic(java.lang.Boolean dynamic)
-
Methods inherited from class jrpc.clightning.plugins.rpcmethods.AbstractRPCMethod
getDescription, getLongDescription, getName, getType, getUsage, toString
-
-
-
-
Method Detail
-
doRun
public void doRun(ICLightningPlugin plugin, CLightningJsonObject request, CLightningJsonObject response)
-
addFeature
public void addFeature(java.lang.String node, java.lang.String channel, java.lang.String init, java.lang.String invoice)
-
addMethods
public void addMethods(java.util.List<AbstractRPCMethod> methods)
-
addMethod
public void addMethod(AbstractRPCMethod method)
-
addOption
public void addOption(Option option)
-
addSubscriptions
public void addSubscriptions(java.lang.String subscription)
-
addHook
public void addHook(java.lang.String hook)
-
setDynamic
public void setDynamic(java.lang.Boolean dynamic)
-
addNotification
public void addNotification(java.lang.String methodName)
-
getOptions
public java.util.List<Option> getOptions()
-
getRpcMethods
public java.util.List<AbstractRPCMethod> getRpcMethods()
-
getSubscriptions
public java.util.List<java.lang.String> getSubscriptions()
-
getHooks
public java.util.List<java.lang.String> getHooks()
-
getFeatures
public Features getFeatures()
-
getDynamic
public java.lang.Boolean getDynamic()
-
getNotifications
public java.util.Set<Notification> getNotifications()
-
-