@Test public void getDeployAdapterTest() throws DispatchException { String deployAction = "<rpc xmlns=\"urn:ietf:params:xml:ns:netconf:base:1.0\" message-id=\"10101\">\n" + " <action xmlns=\"urn:ietf:params:xml:ns:yang:1\">\n" + " <deploy-adapter xmlns=\"urn:bbf:yang:obbaa:device-adapters\">\n" + " <deploy>\n" + " <adapter-archive>adapterExample.zip</adapter-archive>\n" + " </deploy>\n" + " </deploy-adapter>\n" + " </action>\n" + "</rpc>"; DeployAdapterRpc deployAdapterRpc = DeployAdapterRpc.getInstance(deployAction); assertNotNull(deployAdapterRpc.getDeployAdapter().getDeploy()); assertEquals("adapterExample.zip", deployAdapterRpc.getDeployAdapter().getDeploy().getAdapterArchive()); }
public DeployAdapter getDeployAdapter() { return deployAdapter; }
DeployAdapterRpc extends NetconfRpcMessage { public DeployAdapter getDeployAdapter() { return deployAdapter; } }
DeployAdapterRpc extends NetconfRpcMessage { public DeployAdapter getDeployAdapter() { return deployAdapter; } private  DeployAdapterRpc(String netconfMessage); }
DeployAdapterRpc extends NetconfRpcMessage { public DeployAdapter getDeployAdapter() { return deployAdapter; } private  DeployAdapterRpc(String netconfMessage); static DeployAdapterRpc getInstance(String netconfMessage); DeployAdapter getDeployAdapter(); }
DeployAdapterRpc extends NetconfRpcMessage { public DeployAdapter getDeployAdapter() { return deployAdapter; } private  DeployAdapterRpc(String netconfMessage); static DeployAdapterRpc getInstance(String netconfMessage); DeployAdapter getDeployAdapter(); static final String MODULE_NAME; static final String REVISION; static final String NAMESPACE; }