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 testProcessPlainTextTemplate() throws Exception {
  		assertEquals(String.format("Incident for check 'Test Timer':\n" +
  				"First failure: %s\n" +
  				"Old status: OK\n" +
  				"New status: CRITICAL\n" +
  				"Failing checks: 2\n" +
  				"Hosts: testHost2\n" +
  				"Instances: testInstance\n" +
  				"\n" +
  				"Details:" +
  				"\n" +
  				"Host:			testHost2\n" +
  				"Instance:		testInstance\n" +
  				"Status: 		CRITICAL\n" +
  				"Description:	test\n" +
  				"Current value:	10\n" +
  				"\n" +
  				"Host:			testHost2\n" +
  				"Instance:		testInstance\n" +
  				"Status: 		ERROR\n" +
  				"Description:	test\n" +
  				"Current value:	10\n\n", toFreemarkerIsoLocal(testIncident.getFirstFailureAt())),
  				alertTemplateProcessor.processPlainTextTemplate(testIncident));
  	}
test_case.class_method_signature: AlertTemplateProcessorTest.testProcessPlainTextTemplate()
test_case.full_signature: @Test public void testProcessPlainTextTemplate()
test_case.identifier: testProcessPlainTextTemplate
test_case.invocations: assertEquals format toFreemarkerIsoLocal getFirstFailureAt processPlainTextTemplate
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testProcessPlainTextTemplate()
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 processPlainTextTemplate(Incident incident) {
  		return processTemplate("alertsPlainText.ftl", alertingPlugin.getPlainTextAlertTemplate(), incident);
  	}
focal_method.class_method_signature: AlertTemplateProcessor.processPlainTextTemplate(Incident incident)
focal_method.full_signature: public String processPlainTextTemplate(Incident incident)
focal_method.identifier: processPlainTextTemplate
focal_method.invocations: processTemplate getPlainTextAlertTemplate
focal_method.modifiers: public
focal_method.parameters: (Incident incident)
focal_method.return: String
focal_method.signature: String processPlainTextTemplate(Incident incident)