Skip to content

Commit

Permalink
RESKC-842: Add new method in S2SConfigurationService to parse comma s…
Browse files Browse the repository at this point in the history
…eparated param values and return as a list
  • Loading branch information
Geo Thomas committed Sep 16, 2015
1 parent a06e4b4 commit 242879e
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 27 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
*/
package org.kuali.coeus.propdev.api.s2s;

import java.util.List;

public interface S2SConfigurationService {

/**
Expand Down Expand Up @@ -65,4 +67,15 @@ public interface S2SConfigurationService {
* @throws java.lang.IllegalArgumentException if the name is blank
*/
Boolean getValueAsBoolean(String name);

/**
* 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.
*
* @param name the name to retrieve the value for
* @return the configuration values or null
* @throws java.lang.IllegalArgumentException if the name is blank
*/
List<String> getValuesFromCommaSeparatedParam(String name);
}

0 comments on commit 242879e

Please sign in to comment.