private void modifyNode(final String nodeName, final boolean enabled) {
        final FindJobNodeCriteria criteria = new FindJobNodeCriteria();
        criteria.getNodeName().setString(nodeName);

        final ResultPage<JobNode> jobNodes = jobNodeDao.find(criteria);
        for (final JobNode jobNode : jobNodes.getValues()) {
            jobNode.setEnabled(enabled);
            AuditUtil.stamp(securityContext, jobNode);
            jobNodeDao.update(jobNode);
        }
    }
Used to set the job command for all job instances associated with a
specified node.

@param node The node that the job instances are associated with.
stroom-job/stroom-job-impl/src/main/java/stroom/job/impl/JobManagerImpl.java