Class SimpleBooleanConfigParameter
- java.lang.Object
-
- org.owasp.csrfguard.config.properties.SimpleBooleanConfigParameter
-
- All Implemented Interfaces:
SimpleConfigParameter<Boolean>
public class SimpleBooleanConfigParameter extends Object implements SimpleConfigParameter<Boolean>
-
-
Constructor Summary
Constructors Constructor Description SimpleBooleanConfigParameter(String propertyName, boolean propertyValue)
-
-
-
Constructor Detail
-
SimpleBooleanConfigParameter
public SimpleBooleanConfigParameter(String propertyName, boolean propertyValue)
-
-
Method Detail
-
getName
public String getName()
- Specified by:
getNamein interfaceSimpleConfigParameter<Boolean>- Returns:
- the name of the configuration parameter
-
getDefaultValue
public Boolean getDefaultValue()
- Specified by:
getDefaultValuein interfaceSimpleConfigParameter<Boolean>- Returns:
- the default value associated to the configuration parameter
-
-