@Override public WebPanelModuleBean build() { return new WebPanelModuleBean(this); } }
public WebPanelModuleBeanBuilder(WebPanelModuleBean webPanelBean) { super(webPanelBean); this.location = webPanelBean.getLocation(); this.layout = webPanelBean.getLayout(); this.url = webPanelBean.getUrl(); this.weight = webPanelBean.getWeight(); this.tooltip = webPanelBean.getTooltip(); }
private static String createWebPanelExample() { final WebPanelModuleBean webPanelModuleBean = WebPanelModuleBean.newWebPanelBean() .withName(i18nProperty("My Web Panel")) .withUrl("/web-panel") .withKey("my-web-panel") .withLocation("com.atlassian.jira.plugin.headernav.left.context") .withLayout(new WebPanelLayout("10px", "100%")) .withWeight(50) .build(); return JsonExamplesUtils.createModuleArrayAsString("webPanels", webPanelModuleBean); }
private static String createWebPanelExample() { final WebPanelModuleBean webPanelModuleBean = WebPanelModuleBean.newWebPanelBean() .withName(i18nProperty("My Web Panel")) .withUrl("/web-panel") .withKey("my-web-panel") .withLocation("atl.jira.view.issue.right.context") .withLayout(new WebPanelLayout("10px", "100%")) .withWeight(50) .build(); return JsonExamplesUtils.createModuleArrayAsString("webPanels", webPanelModuleBean); }
public WebPanelModuleBeanBuilder(WebPanelModuleBean webPanelBean) { super(webPanelBean); this.location = webPanelBean.getLocation(); this.layout = webPanelBean.getLayout(); this.url = webPanelBean.getUrl(); this.weight = webPanelBean.getWeight(); this.tooltip = webPanelBean.getTooltip(); this.locationValidationEnabled = webPanelBean.isLocationValidationEnabled(); }
@Override public WebPanelModuleBean build() { return new WebPanelModuleBean(this); } }