use of org.apache.archiva.configuration.WebappConfiguration in project archiva by apache.
the class DefaultArchivaAdministration method getUiConfiguration.
@Override
public UiConfiguration getUiConfiguration() throws RepositoryAdminException {
WebappConfiguration webappConfiguration = getArchivaConfiguration().getConfiguration().getWebapp();
if (webappConfiguration == null) {
return null;
}
UserInterfaceOptions userInterfaceOptions = webappConfiguration.getUi();
if (userInterfaceOptions == null) {
return null;
}
return getModelMapper().map(userInterfaceOptions, UiConfiguration.class);
}
Aggregations