/** * Add a new rule, i.e. a pattern, action pair to the rule store. <p> Note * that the added action's LoggerRepository will be set in the process. */ public void addRule(ElementSelector elementSelector, Action action) { action.setContext(context); List<Action> a4p = rules.get(elementSelector); if (a4p == null) { a4p = new ArrayList<Action>(); rules.put(elementSelector, a4p); } a4p.add(action); }
/** * Add a new rule, i.e. a pattern, action pair to the rule store. <p> Note * that the added action's LoggerRepository will be set in the process. */ public void addRule(Pattern pattern, Action action) { action.setContext(context); List<Action> a4p = rules.get(pattern); if (a4p == null) { a4p = new ArrayList<Action>(); rules.put(pattern, a4p); } a4p.add(action); }
/** * Add a new rule, i.e. a pattern, action pair to the rule store. <p> Note * that the added action's LoggerRepository will be set in the process. */ public void addRule(Pattern pattern, Action action) { action.setContext(context); List<Action> a4p = rules.get(pattern); if (a4p == null) { a4p = new ArrayList<Action>(); rules.put(pattern, a4p); } a4p.add(action); }
/** * Add a new rule, i.e. a pattern, action pair to the rule store. <p> Note * that the added action's LoggerRepository will be set in the process. */ public void addRule(ElementSelector elementSelector, Action action) { action.setContext(context); List<Action> a4p = rules.get(elementSelector); if (a4p == null) { a4p = new ArrayList<Action>(); rules.put(elementSelector, a4p); } a4p.add(action); }
/** * Add a new rule, i.e. a pattern, action pair to the rule store. <p> Note * that the added action's LoggerRepository will be set in the process. */ public void addRule(ElementSelector elementSelector, Action action) { action.setContext(context); List<Action> a4p = rules.get(elementSelector); if (a4p == null) { a4p = new ArrayList<Action>(); rules.put(elementSelector, a4p); } a4p.add(action); }
/** * Add a new rule, i.e. a pattern, action pair to the rule store. <p> Note * that the added action's LoggerRepository will be set in the process. */ public void addRule(ElementSelector elementSelector, Action action) { action.setContext(context); List<Action> a4p = rules.get(elementSelector); if (a4p == null) { a4p = new ArrayList<Action>(); rules.put(elementSelector, a4p); } a4p.add(action); }
/** * Add a new rule, i.e. a pattern, action pair to the rule store. <p> Note * that the added action's LoggerRepository will be set in the process. */ public void addRule(ElementSelector elementSelector, Action action) { action.setContext(context); List<Action> a4p = rules.get(elementSelector); if (a4p == null) { a4p = new ArrayList<Action>(); rules.put(elementSelector, a4p); } a4p.add(action); }
/** * Add a new rule, i.e. a pattern, action pair to the rule store. <p> Note * that the added action's LoggerRepository will be set in the process. */ public void addRule(Pattern pattern, Action action) { action.setContext(context); List<Action> a4p = rules.get(pattern); if (a4p == null) { a4p = new ArrayList<Action>(); rules.put(pattern, a4p); } a4p.add(action); }
/** * Add a new rule, i.e. a pattern, action pair to the rule store. <p> Note * that the added action's LoggerRepository will be set in the process. */ public void addRule(ElementSelector elementSelector, Action action) { action.setContext(context); List<Action> a4p = rules.get(elementSelector); if (a4p == null) { a4p = new ArrayList<Action>(); rules.put(elementSelector, a4p); } a4p.add(action); }