test_class.declarator: alertTemplateProcessor
test_class.modifier: private
test_class.original_string: private AlertTemplateProcessor alertTemplateProcessor;
test_class.type: AlertTemplateProcessor
test_class.var_name: alertTemplateProcessor
test_class.declarator: testIncident
test_class.modifier: private
test_class.original_string: private Incident testIncident;
test_class.type: Incident
test_class.var_name: testIncident
test_class.file: stagemonitor-alerting/src/test/java/org/stagemonitor/alerting/alerter/AlertTemplateProcessorTest.java
test_class.identifier: AlertTemplateProcessorTest
test_class.superclass: extends AbstractAlerterTest
test_case.body: @Test
  	public void testProcessShortDescriptionTemplate() throws Exception {
  		assertEquals("[OK -> CRITICAL] Test Timer has 2 failing checks", alertTemplateProcessor.processShortDescriptionTemplate(createIncidentWithVersion("1", 1)));
  
  		// modify template
  		configurationSource.add("stagemonitor.alerts.template.shortDescription", "foo");
  		configuration.reloadDynamicConfigurationOptions();
  		assertEquals("foo", alertTemplateProcessor.processShortDescriptionTemplate(testIncident));
  	}
test_case.class_method_signature: AlertTemplateProcessorTest.testProcessShortDescriptionTemplate()
test_case.full_signature: @Test public void testProcessShortDescriptionTemplate()
test_case.identifier: testProcessShortDescriptionTemplate
test_case.invocations: assertEquals processShortDescriptionTemplate createIncidentWithVersion add reloadDynamicConfigurationOptions assertEquals processShortDescriptionTemplate
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testProcessShortDescriptionTemplate()
focal_class.declarator: alertingPlugin
focal_class.modifier: private final
focal_class.original_string: private final AlertingPlugin alertingPlugin;
focal_class.type: AlertingPlugin
focal_class.var_name: alertingPlugin
focal_class.declarator: cfg
focal_class.modifier: private final
focal_class.original_string: private final Configuration cfg;
focal_class.type: Configuration
focal_class.var_name: cfg
focal_class.file: stagemonitor-alerting/src/main/java/org/stagemonitor/alerting/alerter/AlertTemplateProcessor.java
focal_class.identifier: AlertTemplateProcessor
focal_class.class_method_signature: AlertTemplateProcessor.AlertTemplateProcessor(AlertingPlugin alertingPlugin)
focal_class.full_signature: public  AlertTemplateProcessor(AlertingPlugin alertingPlugin)
focal_class.identifier: AlertTemplateProcessor
focal_class.modifiers: public
focal_class.parameters: (AlertingPlugin alertingPlugin)
focal_class.signature:  AlertTemplateProcessor(AlertingPlugin alertingPlugin)
focal_class.class_method_signature: AlertTemplateProcessor.processHtmlTemplate(Incident incident)
focal_class.full_signature: public String processHtmlTemplate(Incident incident)
focal_class.identifier: processHtmlTemplate
focal_class.modifiers: public
focal_class.parameters: (Incident incident)
focal_class.return: String
focal_class.signature: String processHtmlTemplate(Incident incident)
focal_class.class_method_signature: AlertTemplateProcessor.processPlainTextTemplate(Incident incident)
focal_class.full_signature: public String processPlainTextTemplate(Incident incident)
focal_class.identifier: processPlainTextTemplate
focal_class.modifiers: public
focal_class.parameters: (Incident incident)
focal_class.return: String
focal_class.signature: String processPlainTextTemplate(Incident incident)
focal_class.class_method_signature: AlertTemplateProcessor.processShortDescriptionTemplate(Incident incident)
focal_class.full_signature: public String processShortDescriptionTemplate(Incident incident)
focal_class.identifier: processShortDescriptionTemplate
focal_class.modifiers: public
focal_class.parameters: (Incident incident)
focal_class.return: String
focal_class.signature: String processShortDescriptionTemplate(Incident incident)
focal_class.class_method_signature: AlertTemplateProcessor.processTemplate(String templateName, String templateString, Incident incident)
focal_class.full_signature: private String processTemplate(String templateName, String templateString, Incident incident)
focal_class.identifier: processTemplate
focal_class.modifiers: private
focal_class.parameters: (String templateName, String templateString, Incident incident)
focal_class.return: String
focal_class.signature: String processTemplate(String templateName, String templateString, Incident incident)
focal_method.body: public String processShortDescriptionTemplate(Incident incident) {
  		return processTemplate("alertsShortDescription.ftl", alertingPlugin.getShortDescriptionAlertTemplate(), incident);
  	}
focal_method.class_method_signature: AlertTemplateProcessor.processShortDescriptionTemplate(Incident incident)
focal_method.full_signature: public String processShortDescriptionTemplate(Incident incident)
focal_method.identifier: processShortDescriptionTemplate
focal_method.invocations: processTemplate getShortDescriptionAlertTemplate
focal_method.modifiers: public
focal_method.parameters: (Incident incident)
focal_method.return: String
focal_method.signature: String processShortDescriptionTemplate(Incident incident)