test_class.file: herd-code/herd-service/src/test/java/org/finra/herd/service/helper/JobDefinitionHelperTest.java
test_class.identifier: JobDefinitionHelperTest
test_class.superclass: extends AbstractServiceTest
test_case.body: @Test
      public void testGetActivitiJobDefinitionTemplateUsingDefaultActivitiIdTemplate()
      {
          assertEquals("~namespace~.~jobName~", jobDefinitionHelper.getActivitiJobDefinitionTemplate());
      }
test_case.class_method_signature: JobDefinitionHelperTest.testGetActivitiJobDefinitionTemplateUsingDefaultActivitiIdTemplate()
test_case.full_signature: @Test public void testGetActivitiJobDefinitionTemplateUsingDefaultActivitiIdTemplate()
test_case.identifier: testGetActivitiJobDefinitionTemplateUsingDefaultActivitiIdTemplate
test_case.invocations: assertEquals getActivitiJobDefinitionTemplate
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testGetActivitiJobDefinitionTemplateUsingDefaultActivitiIdTemplate()
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-service/src/main/java/org/finra/herd/service/helper/JobDefinitionHelper.java
focal_class.identifier: JobDefinitionHelper
focal_class.class_method_signature: JobDefinitionHelper.buildActivitiIdString(String namespaceCd, String jobName)
focal_class.full_signature: public String buildActivitiIdString(String namespaceCd, String jobName)
focal_class.identifier: buildActivitiIdString
focal_class.modifiers: public
focal_class.parameters: (String namespaceCd, String jobName)
focal_class.return: String
focal_class.signature: String buildActivitiIdString(String namespaceCd, String jobName)
focal_class.class_method_signature: JobDefinitionHelper.getActivitiJobDefinitionTemplate()
focal_class.full_signature: public String getActivitiJobDefinitionTemplate()
focal_class.identifier: getActivitiJobDefinitionTemplate
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getActivitiJobDefinitionTemplate()
focal_class.class_method_signature: JobDefinitionHelper.getJobNameToken()
focal_class.full_signature: public String getJobNameToken()
focal_class.identifier: getJobNameToken
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getJobNameToken()
focal_class.class_method_signature: JobDefinitionHelper.getNamespaceAndJobNameRegexPattern()
focal_class.full_signature: public Pattern getNamespaceAndJobNameRegexPattern()
focal_class.identifier: getNamespaceAndJobNameRegexPattern
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Pattern
focal_class.signature: Pattern getNamespaceAndJobNameRegexPattern()
focal_class.class_method_signature: JobDefinitionHelper.getJobDefinitionKey(String processDefinitionKey)
focal_class.full_signature: public JobDefinitionAlternateKeyDto getJobDefinitionKey(String processDefinitionKey)
focal_class.identifier: getJobDefinitionKey
focal_class.modifiers: public
focal_class.parameters: (String processDefinitionKey)
focal_class.return: JobDefinitionAlternateKeyDto
focal_class.signature: JobDefinitionAlternateKeyDto getJobDefinitionKey(String processDefinitionKey)
focal_class.class_method_signature: JobDefinitionHelper.getJobDefinitionKey(String processDefinitionKey, Pattern regexPattern)
focal_class.full_signature: public JobDefinitionAlternateKeyDto getJobDefinitionKey(String processDefinitionKey, Pattern regexPattern)
focal_class.identifier: getJobDefinitionKey
focal_class.modifiers: public
focal_class.parameters: (String processDefinitionKey, Pattern regexPattern)
focal_class.return: JobDefinitionAlternateKeyDto
focal_class.signature: JobDefinitionAlternateKeyDto getJobDefinitionKey(String processDefinitionKey, Pattern regexPattern)
focal_class.class_method_signature: JobDefinitionHelper.getNamespaceToken()
focal_class.full_signature: public String getNamespaceToken()
focal_class.identifier: getNamespaceToken
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getNamespaceToken()
focal_class.class_method_signature: JobDefinitionHelper.maskPassword(Parameter parameter)
focal_class.full_signature: public void maskPassword(Parameter parameter)
focal_class.identifier: maskPassword
focal_class.modifiers: public
focal_class.parameters: (Parameter parameter)
focal_class.return: void
focal_class.signature: void maskPassword(Parameter parameter)
focal_method.body: public String getActivitiJobDefinitionTemplate()
      {
          // Set the default Activiti Id tokenized template.
          // ~namespace~.~jobName~
          String defaultActivitiIdTemplate = getNamespaceToken() + "." + getJobNameToken();
  
          // Get the Activiti Id template from the environment, but use the default if one isn't configured.
          // This gives us the ability to customize/change the format post deployment.
          String template = configurationHelper.getProperty(ConfigurationValue.ACTIVITI_JOB_DEFINITION_ID_TEMPLATE);
  
          if (template == null)
          {
              template = defaultActivitiIdTemplate;
          }
  
          return template;
      }
focal_method.class_method_signature: JobDefinitionHelper.getActivitiJobDefinitionTemplate()
focal_method.full_signature: public String getActivitiJobDefinitionTemplate()
focal_method.identifier: getActivitiJobDefinitionTemplate
focal_method.invocations: getNamespaceToken getJobNameToken getProperty
focal_method.modifiers: public
focal_method.parameters: ()
focal_method.return: String
focal_method.signature: String getActivitiJobDefinitionTemplate()