Package org.kuali.coeus.propdev.api.s2s
Interface S2SConfigurationService
public interface S2SConfigurationService
-
Method Summary
Modifier and TypeMethodDescriptiongetValueAsBoolean(String name) This method gets a config value for the s2s application from a config name as a Boolean.getValueAsString(String name) This method gets a config value for the s2s application from a config name as a String.This method gets a config values for the s2s application from a config name as a List of Strings.
-
Method Details
-
getValueAsString
This method gets a config value for the s2s application from a config name as a String. The name cannot be blank. This method will return the config value or null if the value cannot be found.- Parameters:
name- the name to retrieve the value for- Returns:
- the configuration value or null
- Throws:
IllegalArgumentException- if the name is blank
-
getValueAsBoolean
This method gets a config value for the s2s application from a config name as a Boolean. The name cannot be blank. This method will return the config value or null if the value cannot be found.This method will return null if the parameter does not exist or is not a valid truth value.
valid true values (case insensitive):- Y
- true
- on
- 1
- t
- enabled
- N
- false
- off
- 0
- f
- disabled
- Parameters:
name- the name to retrieve the value for- Returns:
- the configuration value or null
- Throws:
IllegalArgumentException- if the name is blank
-
getValuesFromCommaSeparatedParam
This method gets a config values for the s2s application from a config name as a List of Strings. The name cannot be blank. This method will return the config values or null if the value cannot be found.- Parameters:
name- the name to retrieve the value for- Returns:
- the configuration values or null
- Throws:
IllegalArgumentException- if the name is blank
-