Added RpcResultBuilder class 15/8915/4
authortpantelis <tpanteli@brocade.com>
Wed, 9 Jul 2014 15:29:02 +0000 (11:29 -0400)
committertpantelis <tpanteli@brocade.com>
Wed, 9 Jul 2014 18:34:50 +0000 (14:34 -0400)
commit0dad4b598881c931a1246071324d7d444c1b0f55
tree8d5e299bbcc2d86db8d541fdf95900baa3f07f1a
parent361b6e8e7e578e42a202cfef6d1818d7b6260430
Added RpcResultBuilder class

Added a DSL-like builder class for creating RpcResult instances. This class will
deprecate the static Rpcs and RpcErrors classes in the controller.

Also added more javadocs to the RpcResult and RpcError interfaces.

Change-Id: I30cffc68419ed493035ba5fef466096bcec9df70
Signed-off-by: tpantelis <tpanteli@brocade.com>
yang/yang-common/src/main/java/org/opendaylight/yangtools/yang/common/RpcError.java
yang/yang-common/src/main/java/org/opendaylight/yangtools/yang/common/RpcResult.java
yang/yang-common/src/main/java/org/opendaylight/yangtools/yang/common/RpcResultBuilder.java [new file with mode: 0644]
yang/yang-common/src/test/java/org/opendaylight/yangtools/yang/common/RpcResultBuilderTest.java [new file with mode: 0644]