Class Task

java.lang.Object
de.hsh.graja.gui.exec.Task

public class Task extends Object
  • Constructor Details

    • Task

      public Task()
  • Method Details

    • readTask

      public static TaskZipExtracted readTask(String pathToTaskZip, proforma.varproforma.CV cv) throws IllegalArgumentException, IOException, javax.xml.bind.JAXBException
      Throws:
      IllegalArgumentException
      IOException
      javax.xml.bind.JAXBException
    • getModelSolutionIds

      public static List<String> getModelSolutionIds(String pathToTaskZip, proforma.varproforma.CV cv) throws IOException, javax.xml.bind.JAXBException
      Throws:
      IOException
      javax.xml.bind.JAXBException
    • getModelSolutionComment

      public static String getModelSolutionComment(String pathToTaskZip, String id, proforma.varproforma.CV cv) throws IOException, javax.xml.bind.JAXBException
      Throws:
      IOException
      javax.xml.bind.JAXBException
    • isVariabilityTemplate

      public static boolean isVariabilityTemplate(String pathToTaskZip) throws IOException, javax.xml.bind.JAXBException
      Throws:
      IOException
      javax.xml.bind.JAXBException
    • getVariabilitySpec

      public static proforma.varproforma.fx.VarSpec getVariabilitySpec(String pathToTaskZip) throws IOException, javax.xml.bind.JAXBException
      Throws:
      IOException
      javax.xml.bind.JAXBException
    • getPathToDescriptionFiles

      public static Path getPathToDescriptionFiles(String pathToTaskZip, proforma.varproforma.CV cv) throws IOException, javax.xml.bind.JAXBException
      Throws:
      IOException
      javax.xml.bind.JAXBException
    • getPathToModelSolution

      public static Path getPathToModelSolution(String pathToTaskZip, String modelSolutionId, proforma.varproforma.CV cv) throws IOException, javax.xml.bind.JAXBException
      Throws:
      IOException
      javax.xml.bind.JAXBException
    • getModelSolutionContent

      public static byte[] getModelSolutionContent(String pathToTaskZip, String modelSolutionId, proforma.varproforma.CV cv) throws IOException, javax.xml.bind.JAXBException
      Throws:
      IOException
      javax.xml.bind.JAXBException
    • validateTaskZip

      public static void validateTaskZip(String oldPathToTaskZip, String newPathToTaskZip, proforma.varproforma.CV currentCV) throws ModelException
      Throws:
      ModelException