return (ClusterBrowser) super.getBrowser();
}
void setParameters() {
final ClusterStatus clStatus = getBrowser().getClusterStatus();
final String ordId = getService().getCrmId();
final Map<String, Value> resourceNode = new HashMap<String, Value>();
if (serviceInfoParent == null || serviceInfoChild == null) {
/* rsc set placeholder */
final CrmXml.OrderData orderData = clStatus.getOrderData(ordId);
final String score = orderData.getScore();
resourceNode.put(CrmXml.SCORE_CONSTRAINT_PARAM, new StringValue(score));
} else if (serviceInfoParent.isConstraintPlaceholder() || serviceInfoChild.isConstraintPlaceholder()) {
/* rsc set edge */
final ConstraintPHInfo cphi;
final CrmXml.RscSet rscSet;
if (serviceInfoParent.isConstraintPlaceholder()) {
cphi = (ConstraintPHInfo) serviceInfoParent;
rscSet = cphi.getRscSetConnectionDataOrder().getRscSet2();
} else {
cphi = (ConstraintPHInfo) serviceInfoChild;
rscSet = cphi.getRscSetConnectionDataOrder().getRscSet1();
}
resourceNode.put("sequential", new StringValue(rscSet.getSequential()));
resourceNode.put(CrmXml.REQUIRE_ALL_ATTR, new StringValue(rscSet.getRequireAll()));
resourceNode.put("action", new StringValue(rscSet.getOrderAction()));
} else {
final CrmXml.OrderData orderData = clStatus.getOrderData(ordId);
if (orderData != null) {
final String score = orderData.getScore();
final String symmetrical = orderData.getSymmetrical();
final String firstAction = orderData.getFirstAction();
final String thenAction = orderData.getThenAction();