Package de.hsh.graja.gui.exec
Class Task
- java.lang.Object
-
- de.hsh.graja.gui.exec.Task
-
public class Task extends Object
-
-
Constructor Summary
Constructors Constructor Description Task()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
getModelSolutionComment(String pathToTaskZip, String id, CV cv)
static List<String>
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
readTask(String pathToTaskZip, CV cv)
static void
validateTaskZip(String oldPathToTaskZip, String newPathToTaskZip, CV currentCV)
-
-
-
Method Detail
-
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
-
validateTaskZip
public static void validateTaskZip(String oldPathToTaskZip, String newPathToTaskZip, CV currentCV) throws ModelException
- Throws:
ModelException
-
-