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