Class OfflineIntegration

java.lang.Object
de.hsh.graja.offline.integration.OfflineIntegration

public class OfflineIntegration extends Object
  • Constructor Details

    • OfflineIntegration

      public OfflineIntegration()
  • Method Details

    • isOfflineResult

      public static boolean isOfflineResult(FrontendGrajaRequestTO frontendRequest)
      Checks if a FrontendRequestTO contains a submission.zip which has already been graded.
      Parameters:
      frontendRequest - The request to check for
      Returns:
      True if the submission file in the given request was already graded offline False else
    • extractOfflineResult

      public static GrajaResultTO extractOfflineResult(FrontendGrajaRequestTO frontendRequest, String pathToResultFile, String fileFormat, AbstractMarshaller marshaller) throws IOException, javax.xml.bind.JAXBException
      Extracts the result from an offline graded submission
      Parameters:
      frontendRequest -
      pathToResultFile -
      fileFormat -
      marshaller -
      Returns:
      Throws:
      IOException
      javax.xml.bind.JAXBException