@Test public void testRegister() { WebHookPayloadManager wpm = new WebHookPayloadManager(server); WebHookPayloadTailoredJson whp = new WebHookPayloadTailoredJson(wpm, variableResolverManager); whp.register(); assertEquals(whp, wpm.getFormat(whp.getFormatShortName())); }
@Override public void register(){ myManager.registerPayloadFormat(this); }
WebHookPayloadTailoredJson extends WebHookPayloadGeneric implements WebHookPayload { @Override public void register(){ myManager.registerPayloadFormat(this); } }
WebHookPayloadTailoredJson extends WebHookPayloadGeneric implements WebHookPayload { @Override public void register(){ myManager.registerPayloadFormat(this); } WebHookPayloadTailoredJson(WebHookPayloadManager manager, WebHookVariableResolverManager variableResolverManager); }
WebHookPayloadTailoredJson extends WebHookPayloadGeneric implements WebHookPayload { @Override public void register(){ myManager.registerPayloadFormat(this); } WebHookPayloadTailoredJson(WebHookPayloadManager manager, WebHookVariableResolverManager variableResolverManager); @Override void register(); @Override String getFormatDescription(); @Override String getFormatShortName(); @Override String getFormatToolTipText(); @Override String getContentType(); @Override Integer getRank(); @Override void setRank(Integer rank); @Override String getCharset(); @Override WebHookStringRenderer getWebHookStringRenderer(); @Override PayloadTemplateEngineType getTemplateEngineType(); }
WebHookPayloadTailoredJson extends WebHookPayloadGeneric implements WebHookPayload { @Override public void register(){ myManager.registerPayloadFormat(this); } WebHookPayloadTailoredJson(WebHookPayloadManager manager, WebHookVariableResolverManager variableResolverManager); @Override void register(); @Override String getFormatDescription(); @Override String getFormatShortName(); @Override String getFormatToolTipText(); @Override String getContentType(); @Override Integer getRank(); @Override void setRank(Integer rank); @Override String getCharset(); @Override WebHookStringRenderer getWebHookStringRenderer(); @Override PayloadTemplateEngineType getTemplateEngineType(); static final String FORMAT_SHORT_NAME; }