OghamCommonTemplateProperties.java

1
package fr.sii.ogham.spring.template;
2
3
import org.springframework.boot.context.properties.ConfigurationProperties;
4
5
import fr.sii.ogham.spring.common.PrefixSuffixProperties;
6
7
@ConfigurationProperties("ogham.template")
8
public class OghamCommonTemplateProperties extends PrefixSuffixProperties {
9
	/**
10
	 * Globally enable/disable cache for templates independently of the template
11
	 * parser implementation and message type.<br /><br />
12
	 * 
13
	 * For Thymeleaf template engine, the priority order for
14
	 * email is (from highest priority to lowest):<br /><br />
15
	 * 
16
	 * - (1) `ogham.email.thymeleaf.cache`,<br />
17
	 * - (2) `ogham.email.template.cache`,<br />
18
	 * - (3) `ogham.template.cache`<br /><br /><br />
19
	 * 
20
	 * For Thymeleaf template engine, the priority order for 
21
	 * sms is (from highest priority to lowest):<br /><br />
22
	 * 
23
	 * - (1) `ogham.sms.thymeleaf.cache`,<br />
24
	 * - (2) `ogham.sms.template.cache`,<br />
25
	 * - (3) `ogham.template.cache`<br />
26
	 */
27
	private Boolean cache;
28
29
	public Boolean getCache() {
30 2 1. getCache : replaced Boolean return with False for fr/sii/ogham/spring/template/OghamCommonTemplateProperties::getCache → SURVIVED
2. getCache : replaced Boolean return with True for fr/sii/ogham/spring/template/OghamCommonTemplateProperties::getCache → SURVIVED
		return cache;
31
	}
32
33
	public void setCache(Boolean enable) {
34
		this.cache = enable;
35
	}
36
}

Mutations

30

1.1
Location : getCache
Killed by : none
replaced Boolean return with False for fr/sii/ogham/spring/template/OghamCommonTemplateProperties::getCache → SURVIVED

2.2
Location : getCache
Killed by : none
replaced Boolean return with True for fr/sii/ogham/spring/template/OghamCommonTemplateProperties::getCache → SURVIVED

Active mutators

Tests examined


Report generated by PIT OGHAM