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, CV cv) static byte[]getModelSolutionContent(String pathToTaskZip, String modelSolutionId, CV cv) getModelSolutionIds(String pathToTaskZip, CV cv) static PathgetPathToDescriptionFiles(String pathToTaskZip, CV cv) static PathgetPathToModelSolution(String pathToTaskZip, String modelSolutionId, CV cv) static VarSpecgetVariabilitySpec(String pathToTaskZip) static booleanisVariabilityTemplate(String pathToTaskZip) static TaskZipExtractedstatic voidvalidateTaskZip(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:
IllegalArgumentExceptionIOExceptionjavax.xml.bind.JAXBException
-
getModelSolutionIds
public static List<String> getModelSolutionIds(String pathToTaskZip, CV cv) throws IOException, javax.xml.bind.JAXBException - Throws:
IOExceptionjavax.xml.bind.JAXBException
-
getModelSolutionComment
public static String getModelSolutionComment(String pathToTaskZip, String id, 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 VarSpec getVariabilitySpec(String pathToTaskZip) throws IOException, javax.xml.bind.JAXBException - Throws:
IOExceptionjavax.xml.bind.JAXBException
-
getPathToDescriptionFiles
public static Path getPathToDescriptionFiles(String pathToTaskZip, CV cv) throws IOException, javax.xml.bind.JAXBException - Throws:
IOExceptionjavax.xml.bind.JAXBException
-
getPathToModelSolution
public static Path getPathToModelSolution(String pathToTaskZip, String modelSolutionId, CV cv) throws IOException, javax.xml.bind.JAXBException - Throws:
IOExceptionjavax.xml.bind.JAXBException
-
getModelSolutionContent
public static byte[] getModelSolutionContent(String pathToTaskZip, String modelSolutionId, CV cv) throws IOException, javax.xml.bind.JAXBException - Throws:
IOExceptionjavax.xml.bind.JAXBException
-
validateTaskZip
public static void validateTaskZip(String oldPathToTaskZip, String newPathToTaskZip, CV currentCV) throws ModelException - Throws:
ModelException
-