net.codescore.dbo
Interface Submission
- All Superinterfaces:
- DataObject, Persistent, Serializable
- All Known Implementing Classes:
- JudgeSolution, TeamSubmission
public interface Submission
- extends DataObject
| Methods inherited from interface org.apache.cayenne.DataObject |
addToManyTarget, fetchFinished, getDataContext, getSnapshotVersion, readNestedProperty, readProperty, readPropertyDirectly, removeToManyTarget, setDataContext, setSnapshotVersion, setToOneTarget, writeProperty, writePropertyDirectly |
getCompileStdErr
String getCompileStdErr()
getCompileStdErrFile
File getCompileStdErrFile()
- Returns:
- The standard error output from the compiler
getCompileStdOut
String getCompileStdOut()
getLogFile
File getLogFile()
- Returns:
- The file to write log data for the grading process
getCompileStdOutFile
File getCompileStdOutFile()
- Returns:
- The standard output from the compiler
getExecuteStdErrFile
File getExecuteStdErrFile()
- Returns:
- The standard error output from the execution
getExecuteStdOutFile
File getExecuteStdOutFile()
- Returns:
- The standard output from the execution
getExeStdErr
String getExeStdErr()
getExeStdOut
String getExeStdOut()
getExpectedStdOutFile
File getExpectedStdOutFile()
- Returns:
- The expected output from the standard output of execution
getLanguage
Language getLanguage()
getProblem
Problem getProblem()
getSource
String getSource()
getSrcFile
File getSrcFile()
throws IOException
- Returns:
- The source code file for this submission
- Throws:
IOException - If the source file cannot be written using the content in
getSource()
getStatus
ProblemStatus getStatus()
getStdOutDiff
String getStdOutDiff()
getTempDir
File getTempDir()
- Returns:
- The temporary directory used for compliation and execution of
this submission
getTime
Date getTime()
setCompileStdErr
void setCompileStdErr(String compileStdErr)
setCompileStdOut
void setCompileStdOut(String compileStdOut)
setExeStdErr
void setExeStdErr(String exeStdErr)
setExeStdOut
void setExeStdOut(String exeStdOut)
setLanguage
void setLanguage(Language language)
setProblem
void setProblem(Problem problem)
setSource
void setSource(String source)
setStatus
void setStatus(ProblemStatus status)
setStdOutDiff
void setStdOutDiff(String stdOutDiff)
setTime
void setTime(Date time)
Copyright 2008 © Adam Cornett, Andrew Conner All Rights Reserved.