/** * Set this to indicate if the binary is up to date, or not. */ public void updateBinaryUpToDate(boolean status) { try { checkIsUpdateable(); this.checkout(); node.setProperty(BINARY_UP_TO_DATE, status); } catch (RepositoryException e) { log.error("fail to update drools:binaryUpToDate of " + getName(), e); } }
/** * Set this to indicate if the binary is up to date, or not. */ public void updateBinaryUpToDate(boolean status) { try { checkIsUpdateable(); this.checkout(); node.setProperty(BINARY_UP_TO_DATE, status); } catch (RepositoryException e) { log.error("fail to update drools:binaryUpToDate of " + getName(), e); } }
/** * This will permanently delete this module. */ public void remove() { checkIsUpdateable(); try { log.info("USER:" + getCurrentUserName() + " REMOVEING module [" + getName() + "]"); this.node.remove(); } catch (RepositoryException e) { throw new RulesRepositoryException("Was not able to delete module.", e); } }
/** * This will permanently delete this module. */ public void remove() { checkIsUpdateable(); try { log.info("USER:" + getCurrentUserName() + " REMOVEING module [" + getName() + "]"); this.node.remove(); } catch (RepositoryException e) { throw new RulesRepositoryException("Was not able to delete module.", e); } }