@Test public void testBuild() { SlackNotificationPayloadContent content = new SlackNotificationPayloadContent(sBuildServer, sRunningBuild, previousSuccessfulBuild, BuildStateEnum.BEFORE_BUILD_FINISHED); VariableMessageBuilder builder = VariableMessageBuilder.create("This is a test ${buildFullName}", new SlackNotificationBeanUtilsVariableResolver(content)); System.out.println(builder.build()); System.out.println(content.getBuildFullName()); }
public String build(){ return matcher.replace(template, resolver); }
VariableMessageBuilder { public String build(){ return matcher.replace(template, resolver); } }
VariableMessageBuilder { public String build(){ return matcher.replace(template, resolver); }  }
VariableMessageBuilder { public String build(){ return matcher.replace(template, resolver); }  static VariableMessageBuilder create(final String template, VariableResolver resolver); String build(); }
VariableMessageBuilder { public String build(){ return matcher.replace(template, resolver); }  static VariableMessageBuilder create(final String template, VariableResolver resolver); String build();  }