protected final String getViewPage(Class<?> clazz, String pageName) { // We didn't find the configuration page. // Either this is non-fatal, in which case it doesn't matter what string we return so long as // it doesn't exist. // Or this error is fatal, in which case we want the developer to see what page he's missing. // so we put the page name. return getViewPage(clazz,pageName,pageName); }
private String getViewPage(Class<?> clazz, String pageName, String defaultValue) { return getViewPage(clazz,Collections.singleton(pageName),defaultValue); }
public String getGlobalConfigPage() { return getViewPage(clazz, getPossibleViewNames("global"), null); }
public String getConfigPage() { return getViewPage(clazz, getPossibleViewNames("config"), "config.jelly"); }
protected final String getViewPage(Class<?> clazz, String pageName) { // We didn't find the configuration page. // Either this is non-fatal, in which case it doesn't matter what string we return so long as // it doesn't exist. // Or this error is fatal, in which case we want the developer to see what page he's missing. // so we put the page name. return getViewPage(clazz,pageName,pageName); }
protected final String getViewPage(Class<?> clazz, String pageName) { // We didn't find the configuration page. // Either this is non-fatal, in which case it doesn't matter what string we return so long as // it doesn't exist. // Or this error is fatal, in which case we want the developer to see what page he's missing. // so we put the page name. return getViewPage(clazz,pageName,pageName); }
protected final String getViewPage(Class<?> clazz, String pageName) { // We didn't find the configuration page. // Either this is non-fatal, in which case it doesn't matter what string we return so long as // it doesn't exist. // Or this error is fatal, in which case we want the developer to see what page he's missing. // so we put the page name. return getViewPage(clazz,pageName,pageName); }
protected final String getViewPage(Class<?> clazz, String pageName) { // We didn't find the configuration page. // Either this is non-fatal, in which case it doesn't matter what string we return so long as // it doesn't exist. // Or this error is fatal, in which case we want the developer to see what page he's missing. // so we put the page name. return getViewPage(clazz, pageName, pageName); }
protected final String getViewPage(Class<?> clazz, String pageName) { // We didn't find the configuration page. // Either this is non-fatal, in which case it doesn't matter what string we return so long as // it doesn't exist. // Or this error is fatal, in which case we want the developer to see what page he's missing. // so we put the page name. return getViewPage(clazz,pageName,pageName); }
public String getConfigPage() { return getViewPage(clazz, "config.jelly"); }
public String getGlobalConfigPage() { return getViewPage(clazz, "global.jelly",null); }
public String getGlobalConfigPage() { return getViewPage(clazz, "global.jelly",null); }
public String getConfigPage() { return getViewPage(clazz, "config.jelly"); }
public String getGlobalConfigPage() { return getViewPage(clazz, "global.jelly",null); }
public String getConfigPage() { return getViewPage(clazz, "config.jelly"); }
public String getConfigPage() { return getViewPage(clazz, "config.jelly"); }
public String getGlobalConfigPage() { return getViewPage(clazz, "global.jelly", null); }
private String getViewPage(Class<?> clazz, String pageName, String defaultValue) { return getViewPage(clazz,Collections.singleton(pageName),defaultValue); }
public String getConfigPage() { return getViewPage(clazz, getPossibleViewNames("config"), "config.jelly"); }
public String getGlobalConfigPage() { return getViewPage(clazz, getPossibleViewNames("global"), null); }