Code Review
/
netconf.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Bug 8153: Enforce check-style rules for netconf - netconf-mapping-api
[netconf.git]
/
netconf
/
netconf-mapping-api
/
src
/
main
/
java
/
org
/
opendaylight
/
netconf
/
mapping
/
api
/
NetconfOperationChainedExecution.java
diff --git
a/netconf/netconf-mapping-api/src/main/java/org/opendaylight/netconf/mapping/api/NetconfOperationChainedExecution.java
b/netconf/netconf-mapping-api/src/main/java/org/opendaylight/netconf/mapping/api/NetconfOperationChainedExecution.java
index 294482b0b5dcdc6d9b03f1b67ddfb7e94cb4c28b..1e57fc702154a394874ae8458cbc209e79e7ab66 100644
(file)
--- a/
netconf/netconf-mapping-api/src/main/java/org/opendaylight/netconf/mapping/api/NetconfOperationChainedExecution.java
+++ b/
netconf/netconf-mapping-api/src/main/java/org/opendaylight/netconf/mapping/api/NetconfOperationChainedExecution.java
@@
-17,18
+17,20
@@
import org.w3c.dom.Document;
public interface NetconfOperationChainedExecution {
/**
public interface NetconfOperationChainedExecution {
/**
+ * Check if this is termination point in operation execution.
+ *
* @return true if this is termination point in operation execution, false
* @return true if this is termination point in operation execution, false
- *
if there is a subsequent operation present that needs to be
- *
executed
+ * if there is a subsequent operation present that needs to be
+ *
executed.
*/
boolean isExecutionTermination();
/**
*/
boolean isExecutionTermination();
/**
- * Do not execute if this is termination point
+ * Do not execute if this is termination point
.
*/
Document execute(Document requestMessage) throws DocumentedException;
*/
Document execute(Document requestMessage) throws DocumentedException;
-
public static final
NetconfOperationChainedExecution EXECUTION_TERMINATION_POINT = new NetconfOperationChainedExecution() {
+ NetconfOperationChainedExecution EXECUTION_TERMINATION_POINT = new NetconfOperationChainedExecution() {
@Override
public boolean isExecutionTermination() {
return true;
@Override
public boolean isExecutionTermination() {
return true;
@@
-36,7
+38,8
@@
public interface NetconfOperationChainedExecution {
@Override
public Document execute(Document requestMessage) throws DocumentedException {
@Override
public Document execute(Document requestMessage) throws DocumentedException {
- throw new IllegalStateException("This execution represents the termination point in operation execution and cannot be executed itself");
+ throw new IllegalStateException("This execution represents the termination point in operation execution "
+ + "and cannot be executed itself");
}
};
}
};