+ public static RemoveFlowInput removeFlowInput(Node node,Flow sourceFlow) {
+ RemoveFlowInputBuilder ret = new RemoveFlowInputBuilder();
+ FlowAdded source = flowAdded(sourceFlow);
+ ret.setAction(source.getAction());
+ ret.setCookie(source.getCookie());
+ ret.setAction(source.getAction());
+ ret.setCookie(source.getCookie());
+ ret.setHardTimeout(source.getHardTimeout());
+ ret.setMatch(source.getMatch());
+ ret.setPriority(source.getPriority());
+ ret.setNode(nodeRef(node));
+ return ret.build();
+ }
+
+ public static AddFlowInput addFlowInput(Node node,Flow sourceFlow) {
+ AddFlowInputBuilder ret = new AddFlowInputBuilder();
+ FlowAdded source = flowAdded(sourceFlow);
+ ret.setAction(source.getAction());
+ ret.setCookie(source.getCookie());
+ ret.setAction(source.getAction());
+ ret.setCookie(source.getCookie());
+ ret.setHardTimeout(source.getHardTimeout());
+ ret.setMatch(source.getMatch());
+ ret.setPriority(source.getPriority());
+ ret.setNode(nodeRef(node));
+ return ret.build();
+ }