Package | Description |
---|---|
com.tailf.dp |
Data provider API package, for implementation of callbacks for validations, actions, transformation etc.
|
com.tailf.dp.annotations |
Annotations and proxy helper classes for callbacks.
|
Modifier and Type | Method and Description |
---|---|
void |
DpActionCallback.abort(DpActionTrans actx)
The abort() callback will be called for user initiated abort of an
action.
|
ConfXMLParam[] |
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.
|
Completion |
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.
|
Modifier and Type | Method and Description |
---|---|
void |
ActionCallbackProxy.abort(DpActionTrans actx) |
ConfXMLParam[] |
ActionCallbackProxy.action(DpActionTrans actx,
ConfTag name,
ConfObject[] kp,
ConfXMLParam[] params) |
String[] |
ActionCallbackProxy.command(DpActionTrans actx,
String cmdname,
String cmdpath,
String[] params) |
Completion |
ActionCallbackProxy.completion(DpActionTrans actx,
char cliStyle,
String token,
char completionChar,
ConfObject[] kp,
String cmdPath,
String cmdParamId,
ConfQname simpleType,
String extra) |
void |
ActionCallbackProxy.init(DpActionTrans actx) |