public class RegistryReportBuilder extends Object
More specifically within this class, maps are generated through the classes contained in registry-schema-bindings.The details contained in the maps populate a specific handlebar template and result in a String html that is relayed to RegistryRestEndpoint.
Modifier and Type | Field and Description |
---|---|
static String |
ERROR |
static String |
ORGANIZATIONS |
static String |
REPORT |
static String |
SUMMARY |
Constructor and Description |
---|
RegistryReportBuilder() |
Modifier and Type | Method and Description |
---|---|
String |
getErrorHtml(String errorMessage) |
String |
getHtmlFromRegistryPackage(RegistryPackageType registryPackage,
String handlebarTemplate) |
String |
getSummaryHtmlFromMetacard(Metacard metacard) |
void |
setup() |
public static final String REPORT
public static final String SUMMARY
public static final String ORGANIZATIONS
public static final String ERROR
public void setup()
public String getSummaryHtmlFromMetacard(Metacard metacard) throws IOException
IOException
public String getHtmlFromRegistryPackage(RegistryPackageType registryPackage, String handlebarTemplate) throws IOException
IOException
public String getErrorHtml(String errorMessage) throws IOException
IOException
This work is licensed under a Creative Commons Attribution 4.0 International License.