JsonArray parentIds = arguments.getArray(0);
if (!parentIds.getString(0).equals(getConnectorId())) {
log.log("Connector ids doesn't match");
}
HasComponents parent = getParent();
int i = 1;
while (parent != null) {
if (!parentIds.getString(i).equals(
parent.getConnectorId())) {
log.log("parentIds[" + i + "] doesn't match");
}
i++;
parent = parent.getParent();
}
log.log("Parent ids checked");
}
});