test_class.declarator: mockCollector
test_class.modifier: @Mock
  	private
test_class.original_string: @Mock
  	private OutputCollector mockCollector;
test_class.type: OutputCollector
test_class.var_name: mockCollector
test_class.declarator: input
test_class.modifier: @Mock
  	private
test_class.original_string: @Mock
  	private Tuple input;
test_class.type: Tuple
test_class.var_name: input
test_class.declarator: conf
test_class.modifier: private
test_class.original_string: private Map<String, String> conf;
test_class.type: Map<String, String>
test_class.var_name: conf
test_class.file: hendrix-alerts/src/test/java/io/symcpe/hendrix/alerts/TestSuppressionBolt.java
test_class.identifier: TestSuppressionBolt
test_case.body: @Test
  	public void testPrepare() {
  		SuppressionBolt bolt = new SuppressionBolt();
  		bolt.prepare(conf, null, mockCollector);
  		assertEquals(mockCollector, bolt.getCollector());
  		assertEquals(2, bolt.getTemplateMap().size());
  	}
test_case.class_method_signature: TestSuppressionBolt.testPrepare()
test_case.full_signature: @Test public void testPrepare()
test_case.identifier: testPrepare
test_case.invocations: prepare assertEquals getCollector assertEquals size getTemplateMap
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testPrepare()
focal_class.declarator: logger = Logger.getLogger(SuppressionBolt.class.getName())
focal_class.modifier: private static final
focal_class.original_string: private static final Logger logger = Logger.getLogger(SuppressionBolt.class.getName());
focal_class.type: Logger
focal_class.var_name: logger
focal_class.declarator: serialVersionUID = 1L
focal_class.modifier: private static final
focal_class.original_string: private static final long serialVersionUID = 1L;
focal_class.type: long
focal_class.var_name: serialVersionUID
focal_class.declarator: collector
focal_class.modifier: private transient
focal_class.original_string: private transient OutputCollector collector;
focal_class.type: OutputCollector
focal_class.var_name: collector
focal_class.declarator: storeFactory
focal_class.modifier: private transient
focal_class.original_string: private transient StoreFactory storeFactory;
focal_class.type: StoreFactory
focal_class.var_name: storeFactory
focal_class.declarator: templateMap
focal_class.modifier: private transient
focal_class.original_string: private transient Map<Short, AlertTemplate> templateMap;
focal_class.type: Map<Short, AlertTemplate>
focal_class.var_name: templateMap
focal_class.declarator: counter
focal_class.modifier: private transient
focal_class.original_string: private transient Map<Short, MutableInt> counter;
focal_class.type: Map<Short, MutableInt>
focal_class.var_name: counter
focal_class.declarator: stateMap
focal_class.modifier: private transient
focal_class.original_string: private transient Map<Short, MutableBoolean> stateMap;
focal_class.type: Map<Short, MutableBoolean>
focal_class.var_name: stateMap
focal_class.declarator: globalCounter = 1
focal_class.modifier: private transient
focal_class.original_string: private transient long globalCounter = 1;
focal_class.type: long
focal_class.var_name: globalCounter
focal_class.file: hendrix-alerts/src/main/java/io/symcpe/hendrix/alerts/SuppressionBolt.java
focal_class.identifier: SuppressionBolt
focal_class.class_method_signature: SuppressionBolt.prepare(Map stormConf, TopologyContext context, OutputCollector collector)
focal_class.full_signature: @SuppressWarnings({ "rawtypes", "unchecked" }) @Override public final void prepare(Map stormConf, TopologyContext context, OutputCollector collector)
focal_class.identifier: prepare
focal_class.modifiers: @SuppressWarnings({ "rawtypes", "unchecked" }) @Override public final
focal_class.parameters: (Map stormConf, TopologyContext context, OutputCollector collector)
focal_class.return: void
focal_class.signature: void prepare(Map stormConf, TopologyContext context, OutputCollector collector)
focal_class.class_method_signature: SuppressionBolt.initTemplates(Map<String, String> conf)
focal_class.full_signature: public void initTemplates(Map<String, String> conf)
focal_class.identifier: initTemplates
focal_class.modifiers: public
focal_class.parameters: (Map<String, String> conf)
focal_class.return: void
focal_class.signature: void initTemplates(Map<String, String> conf)
focal_class.class_method_signature: SuppressionBolt.execute(Tuple tuple)
focal_class.full_signature: @Override public final void execute(Tuple tuple)
focal_class.identifier: execute
focal_class.modifiers: @Override public final
focal_class.parameters: (Tuple tuple)
focal_class.return: void
focal_class.signature: void execute(Tuple tuple)
focal_class.class_method_signature: SuppressionBolt.updateTemplate(String ruleGroup, String templateJson, boolean delete)
focal_class.full_signature: public void updateTemplate(String ruleGroup, String templateJson, boolean delete)
focal_class.identifier: updateTemplate
focal_class.modifiers: public
focal_class.parameters: (String ruleGroup, String templateJson, boolean delete)
focal_class.return: void
focal_class.signature: void updateTemplate(String ruleGroup, String templateJson, boolean delete)
focal_class.class_method_signature: SuppressionBolt.declareOutputFields(OutputFieldsDeclarer declarer)
focal_class.full_signature: @Override public void declareOutputFields(OutputFieldsDeclarer declarer)
focal_class.identifier: declareOutputFields
focal_class.modifiers: @Override public
focal_class.parameters: (OutputFieldsDeclarer declarer)
focal_class.return: void
focal_class.signature: void declareOutputFields(OutputFieldsDeclarer declarer)
focal_class.class_method_signature: SuppressionBolt.getComponentConfiguration()
focal_class.full_signature: @Override public Map<String, Object> getComponentConfiguration()
focal_class.identifier: getComponentConfiguration
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Map<String, Object>
focal_class.signature: Map<String, Object> getComponentConfiguration()
focal_class.class_method_signature: SuppressionBolt.getCollector()
focal_class.full_signature: protected OutputCollector getCollector()
focal_class.identifier: getCollector
focal_class.modifiers: protected
focal_class.parameters: ()
focal_class.return: OutputCollector
focal_class.signature: OutputCollector getCollector()
focal_class.class_method_signature: SuppressionBolt.getTemplateMap()
focal_class.full_signature: protected Map<Short, AlertTemplate> getTemplateMap()
focal_class.identifier: getTemplateMap
focal_class.modifiers: protected
focal_class.parameters: ()
focal_class.return: Map<Short, AlertTemplate>
focal_class.signature: Map<Short, AlertTemplate> getTemplateMap()
focal_class.class_method_signature: SuppressionBolt.getCounter()
focal_class.full_signature: protected Map<Short, MutableInt> getCounter()
focal_class.identifier: getCounter
focal_class.modifiers: protected
focal_class.parameters: ()
focal_class.return: Map<Short, MutableInt>
focal_class.signature: Map<Short, MutableInt> getCounter()
focal_class.class_method_signature: SuppressionBolt.getGlobalCounter()
focal_class.full_signature: protected long getGlobalCounter()
focal_class.identifier: getGlobalCounter
focal_class.modifiers: protected
focal_class.parameters: ()
focal_class.return: long
focal_class.signature: long getGlobalCounter()
focal_class.superclass: extends BaseRichBolt
focal_method.body: @SuppressWarnings({ "rawtypes", "unchecked" })
  	@Override
  	public final void prepare(Map stormConf, TopologyContext context, OutputCollector collector) {
  		this.collector = collector;
  		this.templateMap = new HashMap<>();
  		this.counter = new HashMap<>();
  		this.stateMap = new HashMap<>();
  		this.storeFactory = new UnifiedFactory();
  		try {
  			initTemplates(stormConf);
  		} catch (Exception e) {
  			throw new RuntimeException(e);
  		}
  		logger.info("Suppression bolt initialized");
  	}
focal_method.class_method_signature: SuppressionBolt.prepare(Map stormConf, TopologyContext context, OutputCollector collector)
focal_method.full_signature: @SuppressWarnings({ "rawtypes", "unchecked" }) @Override public final void prepare(Map stormConf, TopologyContext context, OutputCollector collector)
focal_method.identifier: prepare
focal_method.invocations: initTemplates info
focal_method.modifiers: @SuppressWarnings({ "rawtypes", "unchecked" }) @Override public final
focal_method.parameters: (Map stormConf, TopologyContext context, OutputCollector collector)
focal_method.return: void
focal_method.signature: void prepare(Map stormConf, TopologyContext context, OutputCollector collector)