test_class.declarator: herdStringHelper
test_class.modifier: @Autowired
      private
test_class.original_string: @Autowired
      private HerdStringHelper herdStringHelper;
test_class.type: HerdStringHelper
test_class.var_name: herdStringHelper
test_class.file: herd-code/herd-dao/src/test/java/org/finra/herd/dao/helper/HerdStringHelperTest.java
test_class.identifier: HerdStringHelperTest
test_class.superclass: extends AbstractDaoTest
test_case.body: @Test
      public void testJoinSingleElement()
      {
          List<String> list = Arrays.asList("A");
          String delimiter = "|";
          String escapeSequence = "\\";
          String result = herdStringHelper.join(list, delimiter, escapeSequence);
  
          assertEquals("result", "A", result);
      }
test_case.class_method_signature: HerdStringHelperTest.testJoinSingleElement()
test_case.full_signature: @Test public void testJoinSingleElement()
test_case.identifier: testJoinSingleElement
test_case.invocations: asList join assertEquals
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testJoinSingleElement()
focal_class.declarator: configurationHelper
focal_class.modifier: @Autowired
      private
focal_class.original_string: @Autowired
      private ConfigurationHelper configurationHelper;
focal_class.type: ConfigurationHelper
focal_class.var_name: configurationHelper
focal_class.file: herd-code/herd-dao/src/main/java/org/finra/herd/dao/helper/HerdStringHelper.java
focal_class.identifier: HerdStringHelper
focal_class.class_method_signature: HerdStringHelper.splitStringWithDefaultDelimiter(String inputString)
focal_class.full_signature: public List<String> splitStringWithDefaultDelimiter(String inputString)
focal_class.identifier: splitStringWithDefaultDelimiter
focal_class.modifiers: public
focal_class.parameters: (String inputString)
focal_class.return: List<String>
focal_class.signature: List<String> splitStringWithDefaultDelimiter(String inputString)
focal_class.class_method_signature: HerdStringHelper.splitStringWithDefaultDelimiterEscaped(String inputString)
focal_class.full_signature: public List<String> splitStringWithDefaultDelimiterEscaped(String inputString)
focal_class.identifier: splitStringWithDefaultDelimiterEscaped
focal_class.modifiers: public
focal_class.parameters: (String inputString)
focal_class.return: List<String>
focal_class.signature: List<String> splitStringWithDefaultDelimiterEscaped(String inputString)
focal_class.class_method_signature: HerdStringHelper.getRequiredConfigurationValue(ConfigurationValue configurationValue)
focal_class.full_signature: public String getRequiredConfigurationValue(ConfigurationValue configurationValue)
focal_class.identifier: getRequiredConfigurationValue
focal_class.modifiers: public
focal_class.parameters: (ConfigurationValue configurationValue)
focal_class.return: String
focal_class.signature: String getRequiredConfigurationValue(ConfigurationValue configurationValue)
focal_class.class_method_signature: HerdStringHelper.getConfigurationValueAsInteger(ConfigurationValue configurationValue)
focal_class.full_signature: public int getConfigurationValueAsInteger(ConfigurationValue configurationValue)
focal_class.identifier: getConfigurationValueAsInteger
focal_class.modifiers: public
focal_class.parameters: (ConfigurationValue configurationValue)
focal_class.return: int
focal_class.signature: int getConfigurationValueAsInteger(ConfigurationValue configurationValue)
focal_class.class_method_signature: HerdStringHelper.getConfigurationValueAsString(ConfigurationValue configurationValue)
focal_class.full_signature: public String getConfigurationValueAsString(ConfigurationValue configurationValue)
focal_class.identifier: getConfigurationValueAsString
focal_class.modifiers: public
focal_class.parameters: (ConfigurationValue configurationValue)
focal_class.return: String
focal_class.signature: String getConfigurationValueAsString(ConfigurationValue configurationValue)
focal_class.class_method_signature: HerdStringHelper.splitAndTrim(String string, String delimiter)
focal_class.full_signature: public Set<String> splitAndTrim(String string, String delimiter)
focal_class.identifier: splitAndTrim
focal_class.modifiers: public
focal_class.parameters: (String string, String delimiter)
focal_class.return: Set<String>
focal_class.signature: Set<String> splitAndTrim(String string, String delimiter)
focal_class.class_method_signature: HerdStringHelper.join(List<String> list, String delimiter, String escapeSequence)
focal_class.full_signature: public String join(List<String> list, String delimiter, String escapeSequence)
focal_class.identifier: join
focal_class.modifiers: public
focal_class.parameters: (List<String> list, String delimiter, String escapeSequence)
focal_class.return: String
focal_class.signature: String join(List<String> list, String delimiter, String escapeSequence)
focal_class.class_method_signature: HerdStringHelper.getDelimitedConfigurationValue(ConfigurationValue configurationValue)
focal_class.full_signature: public List<String> getDelimitedConfigurationValue(ConfigurationValue configurationValue)
focal_class.identifier: getDelimitedConfigurationValue
focal_class.modifiers: public
focal_class.parameters: (ConfigurationValue configurationValue)
focal_class.return: List<String>
focal_class.signature: List<String> getDelimitedConfigurationValue(ConfigurationValue configurationValue)
focal_class.class_method_signature: HerdStringHelper.buildStringWithDefaultDelimiter(List<String> inputStrings)
focal_class.full_signature: public String buildStringWithDefaultDelimiter(List<String> inputStrings)
focal_class.identifier: buildStringWithDefaultDelimiter
focal_class.modifiers: public
focal_class.parameters: (List<String> inputStrings)
focal_class.return: String
focal_class.signature: String buildStringWithDefaultDelimiter(List<String> inputStrings)
focal_method.body: public String join(List<String> list, String delimiter, String escapeSequence)
      {
          String result = null;
          if (list != null)
          {
              List<String> filteredAndEscaped = new ArrayList<>();
              for (String element : list)
              {
                  if (StringUtils.isNotBlank(element))
                  {
                      element = element.replace(delimiter, escapeSequence + delimiter);
                      filteredAndEscaped.add(element);
                  }
              }
  
              result = StringUtils.join(filteredAndEscaped, delimiter);
          }
          return result;
      }
focal_method.class_method_signature: HerdStringHelper.join(List<String> list, String delimiter, String escapeSequence)
focal_method.full_signature: public String join(List<String> list, String delimiter, String escapeSequence)
focal_method.identifier: join
focal_method.invocations: isNotBlank replace add join
focal_method.modifiers: public
focal_method.parameters: (List<String> list, String delimiter, String escapeSequence)
focal_method.return: String
focal_method.signature: String join(List<String> list, String delimiter, String escapeSequence)