Class Analyser

java.lang.Object
org.gcube.common.software.analyser.Analyser

public class Analyser extends Object
Author:
Luca Frosini (ISTI - CNR)
  • Field Details

    • objectMapper

      protected com.fasterxml.jackson.databind.ObjectMapper objectMapper
    • outputDirectory

      protected File outputDirectory
    • globalConfiguration

      protected com.fasterxml.jackson.databind.node.ObjectNode globalConfiguration
    • artifactMetadataArray

      protected com.fasterxml.jackson.databind.node.ArrayNode artifactMetadataArray
  • Constructor Details

  • Method Details

    • setOutputDirectory

      public void setOutputDirectory(File outputDirectory)
    • getGlobalConfiguration

      public com.fasterxml.jackson.databind.node.ObjectNode getGlobalConfiguration()
    • setGlobalConfiguration

      public void setGlobalConfiguration(com.fasterxml.jackson.databind.node.ObjectNode originalGlobalConfiguration)
    • getArtifactMetadataArray

      public com.fasterxml.jackson.databind.node.ArrayNode getArtifactMetadataArray()
    • setArtifactMetadataArray

      public void setArtifactMetadataArray(com.fasterxml.jackson.databind.node.ArrayNode original)
    • actualizeSoftwareArtifactConfig

      protected SoftwareArtifactMetadata actualizeSoftwareArtifactConfig(com.fasterxml.jackson.databind.JsonNode version) throws Exception
      Throws:
      Exception
    • getGlobalConfig

      protected GlobalConfig getGlobalConfig(com.fasterxml.jackson.databind.JsonNode node) throws Exception
      Throws:
      Exception
    • actualizeProcessorConfig

      protected ProcessorConfig actualizeProcessorConfig(ProcessorConfig processorConfig, SoftwareArtifactMetadata softwareArtifactMetadata) throws Exception
      Throws:
      Exception
    • checkProcessors

      protected void checkProcessors(Set<String> availableProcessorNames, Set<String> requestedProcessorNames) throws Exception
      Throws:
      Exception
    • analyse

      public List<File> analyse() throws Exception
      Throws:
      Exception