newNode.setInstallDir(installdir); if (nodedir != null && !"".equals(nodedir)) newNode.setNodeDir(nodedir); if (nodehost != null && !"".equals(nodehost)) newNode.setNodeHost(nodehost);
newNode.setInstallDir(installdir); if (nodedir != null && nodedir !="") newNode.setNodeDir(nodedir); if (nodehost != null && nodehost !="") newNode.setNodeHost(nodehost);
instance.setNodeDir(null); if ( !StringUtils.ok(installdir)) instance.setInstallDir(null);
instance.setNodeDir(null); if (!StringUtils.ok(installdir)) instance.setInstallDir(null);
writeableNode.setWindowsDomain(windowsdomain); if (nodedir != null) writeableNode.setNodeDir(nodedir); if (nodehost != null) writeableNode.setNodeHost(nodehost);
Node writeableNode = t.enroll(node); if (nodedir != null) writeableNode.setNodeDir(nodedir); if (nodehost != null) writeableNode.setNodeHost(nodehost);