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 String
getModelSolutionComment
(String pathToTaskZip, String id, CV cv) static byte[]
getModelSolutionContent
(String pathToTaskZip, String modelSolutionId, CV cv) getModelSolutionIds
(String pathToTaskZip, CV cv) static Path
getPathToDescriptionFiles
(String pathToTaskZip, CV cv) static Path
getPathToModelSolution
(String pathToTaskZip, String modelSolutionId, CV cv) static VarSpec
getVariabilitySpec
(String pathToTaskZip) static boolean
isVariabilityTemplate
(String pathToTaskZip) static TaskZipExtracted
static void
validateTaskZip
(String oldPathToTaskZip, String newPathToTaskZip, CV currentCV)
-
Constructor Details
-
Task
public Task()
-
-
Method Details
-
readTask
public static TaskZipExtracted readTask(String pathToTaskZip, CV cv) throws IllegalArgumentException, IOException, javax.xml.bind.JAXBException - Throws:
IllegalArgumentException
IOException
javax.xml.bind.JAXBException
-
getModelSolutionIds
public static List<String> getModelSolutionIds(String pathToTaskZip, CV cv) throws IOException, javax.xml.bind.JAXBException - Throws:
IOException
javax.xml.bind.JAXBException
-
getModelSolutionComment
public static String getModelSolutionComment(String pathToTaskZip, String id, 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 VarSpec getVariabilitySpec(String pathToTaskZip) throws IOException, javax.xml.bind.JAXBException - Throws:
IOException
javax.xml.bind.JAXBException
-
getPathToDescriptionFiles
public static Path getPathToDescriptionFiles(String pathToTaskZip, CV cv) throws IOException, javax.xml.bind.JAXBException - Throws:
IOException
javax.xml.bind.JAXBException
-
getPathToModelSolution
public static Path getPathToModelSolution(String pathToTaskZip, String modelSolutionId, CV cv) throws IOException, javax.xml.bind.JAXBException - Throws:
IOException
javax.xml.bind.JAXBException
-
getModelSolutionContent
public static byte[] getModelSolutionContent(String pathToTaskZip, String modelSolutionId, CV cv) throws IOException, javax.xml.bind.JAXBException - Throws:
IOException
javax.xml.bind.JAXBException
-
validateTaskZip
public static void validateTaskZip(String oldPathToTaskZip, String newPathToTaskZip, CV currentCV) throws ModelException - Throws:
ModelException
-