Package com.jelurida.ardor.contracts
Class SlackNotifier
Post a message to slack using a web hook.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprocessInvocation(DelegatedContext context, String text) Process internal invocation by another contractMethods inherited from class nxt.addons.AbstractContract
isDuplicate, processBlock, processRequest, processTransaction, processVoucherMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface nxt.addons.Contract
init, minProductVersion, shutdown
-
Constructor Details
-
SlackNotifier
public SlackNotifier()
-
-
Method Details
-
processInvocation
Process internal invocation by another contract- Specified by:
processInvocationin interfaceContract<String,Integer> - Overrides:
processInvocationin classAbstractContract<String,Integer> - Parameters:
context- the context delegated by the invoking contracttext- the text to post on slack- Returns:
- response code
-