@Test void testConfigurationAssets1() throws Exception { final TrellisConfiguration config = new YamlConfigurationFactory<>(TrellisConfiguration.class, Validators.newValidator(), Jackson.newMinimalObjectMapper(), "") .build(new File(getClass().getResource("/config1.yml").toURI())); assertEquals("org/trellisldp/rdfa/resource.mustache", config.getAssets().getTemplate(), "Bad assets/template"); assertEquals("http: assertTrue(config.getAssets().getJs().contains("http: assertTrue(config.getAssets().getCss().contains("http: }
@JsonProperty public AssetConfiguration getAssets() { return assets; }
TrellisConfiguration extends Configuration { @JsonProperty public AssetConfiguration getAssets() { return assets; } }
TrellisConfiguration extends Configuration { @JsonProperty public AssetConfiguration getAssets() { return assets; }  }
TrellisConfiguration extends Configuration { @JsonProperty public AssetConfiguration getAssets() { return assets; }  @JsonProperty String getBaseUrl(); @JsonProperty void setBaseUrl(final String baseUrl); @JsonProperty String getHubUrl(); @JsonProperty void setHubUrl(final String hubUrl); @JsonProperty void setAssets(final AssetConfiguration assets); @JsonProperty AssetConfiguration getAssets(); @JsonProperty String getDefaultName(); @JsonProperty void setDefaultName(final String name); @JsonAnySetter TrellisConfiguration setAdditionalConfig(final String name, final Object value); @JsonAnyGetter Map<String, Object> any(); @JsonProperty void setCache(final CacheConfiguration cache); @JsonProperty CacheConfiguration getCache(); @JsonProperty void setCors(final CORSConfiguration cors); @JsonProperty CORSConfiguration getCors(); @JsonProperty void setAuth(final AuthConfiguration auth); @JsonProperty AuthConfiguration getAuth(); @JsonProperty void setJsonld(final JsonLdConfiguration jsonld); @JsonProperty JsonLdConfiguration getJsonld(); @JsonProperty void setUseRelativeIris(final boolean useRelativeIris); @JsonProperty boolean getUseRelativeIris(); @JsonProperty void setNotifications(final NotificationsConfiguration notifications); @JsonProperty NotificationsConfiguration getNotifications(); }
TrellisConfiguration extends Configuration { @JsonProperty public AssetConfiguration getAssets() { return assets; }  @JsonProperty String getBaseUrl(); @JsonProperty void setBaseUrl(final String baseUrl); @JsonProperty String getHubUrl(); @JsonProperty void setHubUrl(final String hubUrl); @JsonProperty void setAssets(final AssetConfiguration assets); @JsonProperty AssetConfiguration getAssets(); @JsonProperty String getDefaultName(); @JsonProperty void setDefaultName(final String name); @JsonAnySetter TrellisConfiguration setAdditionalConfig(final String name, final Object value); @JsonAnyGetter Map<String, Object> any(); @JsonProperty void setCache(final CacheConfiguration cache); @JsonProperty CacheConfiguration getCache(); @JsonProperty void setCors(final CORSConfiguration cors); @JsonProperty CORSConfiguration getCors(); @JsonProperty void setAuth(final AuthConfiguration auth); @JsonProperty AuthConfiguration getAuth(); @JsonProperty void setJsonld(final JsonLdConfiguration jsonld); @JsonProperty JsonLdConfiguration getJsonld(); @JsonProperty void setUseRelativeIris(final boolean useRelativeIris); @JsonProperty boolean getUseRelativeIris(); @JsonProperty void setNotifications(final NotificationsConfiguration notifications); @JsonProperty NotificationsConfiguration getNotifications();  }