public class DefaultEnvironmentMetadataService extends Object implements EnvironmentMetadataService
Constructor and Description |
---|
DefaultEnvironmentMetadataService() |
Modifier and Type | Method and Description |
---|---|
protected void |
addConfig(org.kuali.common.devops.metadata.logic.DefaultEnvironmentMetadataService.MetadataUrlHelper helper,
EnvironmentMetadata.Builder builder) |
protected void |
addProject(org.kuali.common.devops.metadata.logic.DefaultEnvironmentMetadataService.MetadataUrlHelper helper,
EnvironmentMetadata.Builder builder) |
static <T> MetadataUrl<T> |
build(org.kuali.common.devops.metadata.logic.DefaultEnvironmentMetadataService.MetadataUrlHelper helper,
com.google.common.base.Function<String,T> converter) |
static <T> MetadataUrl<T> |
build(org.kuali.common.devops.metadata.logic.DefaultEnvironmentMetadataService.MetadataUrlHelper helper,
String suffix1,
com.google.common.base.Function<String,T> converter) |
protected EnvironmentMetadata |
build(String fqdn,
com.google.common.cache.LoadingCache<String,org.kuali.common.http.model.HttpWaitResult> urlCache) |
protected com.google.common.cache.LoadingCache<String,org.kuali.common.http.model.HttpWaitResult> |
getFastFileSystemCacher()
Grabs the first 25k in content from a URL and stashes it onto the local file system.
|
List<EnvironmentMetadata> |
getMetadata(List<String> fqdns) |
EnvironmentMetadata |
getMetadata(String fqdn) |
public DefaultEnvironmentMetadataService()
public EnvironmentMetadata getMetadata(String fqdn)
getMetadata
in interface EnvironmentMetadataService
public List<EnvironmentMetadata> getMetadata(List<String> fqdns)
getMetadata
in interface EnvironmentMetadataService
protected EnvironmentMetadata build(String fqdn, com.google.common.cache.LoadingCache<String,org.kuali.common.http.model.HttpWaitResult> urlCache)
protected void addProject(org.kuali.common.devops.metadata.logic.DefaultEnvironmentMetadataService.MetadataUrlHelper helper, EnvironmentMetadata.Builder builder)
protected void addConfig(org.kuali.common.devops.metadata.logic.DefaultEnvironmentMetadataService.MetadataUrlHelper helper, EnvironmentMetadata.Builder builder)
public static <T> MetadataUrl<T> build(org.kuali.common.devops.metadata.logic.DefaultEnvironmentMetadataService.MetadataUrlHelper helper, com.google.common.base.Function<String,T> converter)
public static <T> MetadataUrl<T> build(org.kuali.common.devops.metadata.logic.DefaultEnvironmentMetadataService.MetadataUrlHelper helper, String suffix1, com.google.common.base.Function<String,T> converter)
protected com.google.common.cache.LoadingCache<String,org.kuali.common.http.model.HttpWaitResult> getFastFileSystemCacher()
Copyright © 2004–2014 The Kuali Foundation. All rights reserved.