/** * Adds a new export rule to the configuration.<p> * * @param name the name of the rule * @param description the description for the rule */ public void addExportRule(String name, String description) { m_exportRules.add(new CmsStaticExportExportRule( name, description, m_exportTmpRule.getModifiedResources(), m_exportTmpRule.getExportResourcePatterns())); m_exportTmpRule = new CmsStaticExportExportRule("", ""); }
/** * Adds a new export rule to the configuration.<p> * * @param name the name of the rule * @param description the description for the rule */ public void addExportRule(String name, String description) { m_exportRules.add( new CmsStaticExportExportRule( name, description, m_exportTmpRule.getModifiedResources(), m_exportTmpRule.getExportResourcePatterns())); m_exportTmpRule = new CmsStaticExportExportRule("", ""); }
Iterator itMods = rule.getModifiedResources().iterator(); while (itMods.hasNext()) { Pattern regex = (Pattern)itMods.next();
Iterator<Pattern> itMods = rule.getModifiedResources().iterator(); while (itMods.hasNext()) { Pattern regex = itMods.next();