Package de.hsh.graja.gui.exec
Class Task
java.lang.Object
de.hsh.graja.gui.exec.Task
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetModelSolutionComment(String pathToTaskZip, String id, proforma.varproforma.CV cv) static byte[]getModelSolutionContent(String pathToTaskZip, String modelSolutionId, proforma.varproforma.CV cv) getModelSolutionIds(String pathToTaskZip, proforma.varproforma.CV cv) static PathgetPathToDescriptionFiles(String pathToTaskZip, proforma.varproforma.CV cv) static PathgetPathToModelSolution(String pathToTaskZip, String modelSolutionId, proforma.varproforma.CV cv) static proforma.varproforma.fx.VarSpecgetVariabilitySpec(String pathToTaskZip) static booleanisVariabilityTemplate(String pathToTaskZip) static TaskZipExtractedstatic voidvalidateTaskZip(String oldPathToTaskZip, String newPathToTaskZip, proforma.varproforma.CV currentCV)
-
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:
IllegalArgumentExceptionIOExceptionjavax.xml.bind.JAXBException
-
getModelSolutionIds
public static List<String> getModelSolutionIds(String pathToTaskZip, proforma.varproforma.CV cv) throws IOException, javax.xml.bind.JAXBException - Throws:
IOExceptionjavax.xml.bind.JAXBException
-
getModelSolutionComment
public static String getModelSolutionComment(String pathToTaskZip, String id, proforma.varproforma.CV cv) throws IOException, javax.xml.bind.JAXBException - Throws:
IOExceptionjavax.xml.bind.JAXBException
-
isVariabilityTemplate
public static boolean isVariabilityTemplate(String pathToTaskZip) throws IOException, javax.xml.bind.JAXBException - Throws:
IOExceptionjavax.xml.bind.JAXBException
-
getVariabilitySpec
public static proforma.varproforma.fx.VarSpec getVariabilitySpec(String pathToTaskZip) throws IOException, javax.xml.bind.JAXBException - Throws:
IOExceptionjavax.xml.bind.JAXBException
-
getPathToDescriptionFiles
public static Path getPathToDescriptionFiles(String pathToTaskZip, proforma.varproforma.CV cv) throws IOException, javax.xml.bind.JAXBException - Throws:
IOExceptionjavax.xml.bind.JAXBException
-
getPathToModelSolution
public static Path getPathToModelSolution(String pathToTaskZip, String modelSolutionId, proforma.varproforma.CV cv) throws IOException, javax.xml.bind.JAXBException - Throws:
IOExceptionjavax.xml.bind.JAXBException
-
getModelSolutionContent
public static byte[] getModelSolutionContent(String pathToTaskZip, String modelSolutionId, proforma.varproforma.CV cv) throws IOException, javax.xml.bind.JAXBException - Throws:
IOExceptionjavax.xml.bind.JAXBException
-
validateTaskZip
public static void validateTaskZip(String oldPathToTaskZip, String newPathToTaskZip, proforma.varproforma.CV currentCV) throws ModelException - Throws:
ModelException
-