Class Analyser
- java.lang.Object
-
- org.gcube.common.software.analyser.Analyser
-
public class Analyser extends Object
- Author:
- Luca Frosini (ISTI - CNR)
-
-
Field Summary
Fields Modifier and Type Field Description protected org.gcube.com.fasterxml.jackson.databind.node.ObjectNodeglobalConfigurationprotected org.gcube.com.fasterxml.jackson.databind.ObjectMapperobjectMapperprotected FileoutputDirectoryprotected org.gcube.com.fasterxml.jackson.databind.node.ArrayNodeversionConfigurations
-
Constructor Summary
Constructors Constructor Description Analyser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ExporterConfigactualizeExporterConfig(ExporterConfig exporterConfig, SoftwareVersionConfig softwareVersionConfig)protected SoftwareVersionConfigactualizeSoftwareVersionConfig(org.gcube.com.fasterxml.jackson.databind.JsonNode version)List<File>analyse()protected voidcheckExporters(Set<String> availableExporterNames, Set<String> requestedExporterNames)protected GlobalConfiggetGlobalConfig(org.gcube.com.fasterxml.jackson.databind.JsonNode node)org.gcube.com.fasterxml.jackson.databind.node.ObjectNodegetGlobalConfiguration()org.gcube.com.fasterxml.jackson.databind.node.ArrayNodegetVersionConfigurations()voidsetGlobalConfiguration(org.gcube.com.fasterxml.jackson.databind.node.ObjectNode originalGlobal)voidsetOutputDirectory(File outputDirectory)voidsetVersionConfigurations(org.gcube.com.fasterxml.jackson.databind.node.ArrayNode originalVersions)
-
-
-
Field Detail
-
objectMapper
protected org.gcube.com.fasterxml.jackson.databind.ObjectMapper objectMapper
-
outputDirectory
protected File outputDirectory
-
globalConfiguration
protected org.gcube.com.fasterxml.jackson.databind.node.ObjectNode globalConfiguration
-
versionConfigurations
protected org.gcube.com.fasterxml.jackson.databind.node.ArrayNode versionConfigurations
-
-
Method Detail
-
setOutputDirectory
public void setOutputDirectory(File outputDirectory)
-
getGlobalConfiguration
public org.gcube.com.fasterxml.jackson.databind.node.ObjectNode getGlobalConfiguration()
-
setGlobalConfiguration
public void setGlobalConfiguration(org.gcube.com.fasterxml.jackson.databind.node.ObjectNode originalGlobal)
-
getVersionConfigurations
public org.gcube.com.fasterxml.jackson.databind.node.ArrayNode getVersionConfigurations()
-
setVersionConfigurations
public void setVersionConfigurations(org.gcube.com.fasterxml.jackson.databind.node.ArrayNode originalVersions)
-
actualizeSoftwareVersionConfig
protected SoftwareVersionConfig actualizeSoftwareVersionConfig(org.gcube.com.fasterxml.jackson.databind.JsonNode version) throws Exception
- Throws:
Exception
-
getGlobalConfig
protected GlobalConfig getGlobalConfig(org.gcube.com.fasterxml.jackson.databind.JsonNode node) throws Exception
- Throws:
Exception
-
actualizeExporterConfig
protected ExporterConfig actualizeExporterConfig(ExporterConfig exporterConfig, SoftwareVersionConfig softwareVersionConfig) throws Exception
- Throws:
Exception
-
checkExporters
protected void checkExporters(Set<String> availableExporterNames, Set<String> requestedExporterNames) throws Exception
- Throws:
Exception
-
-