Uses of Annotation Interface
com.tailf.dp.annotations.ActionCallback
Packages that use ActionCallback
Package
Description
Data provider API package, for implementation of callbacks for validations, actions, transformation etc.
-
Uses of ActionCallback in com.tailf.dp
Methods in com.tailf.dp with annotations of type ActionCallbackModifier and TypeMethodDescriptionvoid
DpActionCallback.abort
(DpActionTrans actx) The abort() callback will be called for user initiated abort of an action.DpActionCallback.action
(DpActionTrans actx, ConfTag name, ConfObject[] kp, ConfXMLParam[] params) The action() callback receives all the parameters pertaining to the action: The name argument is a pointer to the action name as defined in YANG model, the kp argument gives the path through the XML tree, and finally the params argument is a representation of the params element of the XML instance document provided with the invocation.String[]
DpActionCallback.command
(DpActionTrans actx, String cmdname, String cmdpath, String[] params) The command() callback is invoked for CLI callback commands.DpActionCallback.completion
(DpActionTrans actx, char cliStyle, String token, char completionChar, ConfObject[] kp, String cmdPath, String cmdParamId, ConfQname simpleType, String extra) The completion() callback is invoked for CLI completion and information.void
DpActionCallback.init
(DpActionTrans actx) Similar to the init() callback for external data bases.