|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.cayenne.CayenneDataObject
net.codescore.dbo.CDO
net.codescore.dbo.auto._JudgeSolution
net.codescore.dbo.JudgeSolution
public class JudgeSolution
| Field Summary | |
|---|---|
private File |
compileStdErr
|
private File |
compileStdOut
|
private File |
exeStdErr
|
private File |
exeStdOut
|
private File |
expStdOut
|
private File |
logFile
|
private static SimpleDateFormat |
sdf
|
private static long |
serialVersionUID
|
private File |
srcFile
|
private File |
tempDir
|
| Fields inherited from class net.codescore.dbo.auto._JudgeSolution |
|---|
COMPILE_STD_ERR_PROPERTY, COMPILE_STD_OUT_PROPERTY, EXE_STD_ERR_PROPERTY, EXE_STD_OUT_PROPERTY, LANGUAGE_PROPERTY, PID_PK_COLUMN, PROBLEM_PROPERTY, SID_PK_COLUMN, SOURCE_PROPERTY, STATUS_PROPERTY, STD_OUT_DIFF_PROPERTY, TIME_PROPERTY |
| Fields inherited from class net.codescore.dbo.CDO |
|---|
log |
| Fields inherited from class org.apache.cayenne.CayenneDataObject |
|---|
objectContext, objectId, persistenceState, snapshotVersion, values |
| Fields inherited from interface org.apache.cayenne.DataObject |
|---|
DEFAULT_VERSION |
| Constructor Summary | |
|---|---|
JudgeSolution()
|
|
| Method Summary | |
|---|---|
File |
getCompileStdErrFile()
|
File |
getCompileStdOutFile()
|
File |
getExecuteStdErrFile()
|
File |
getExecuteStdOutFile()
|
File |
getExpectedStdOutFile()
|
File |
getLogFile()
|
File |
getSrcFile()
|
File |
getTempDir()
|
private File |
touchLocalFile(String fName)
|
private void |
writeSrcFile()
|
| Methods inherited from class net.codescore.dbo.auto._JudgeSolution |
|---|
getCompileStdErr, getCompileStdOut, getExeStdErr, getExeStdOut, getLanguage, getProblem, getSource, getStatus, getStdOutDiff, getTime, setCompileStdErr, setCompileStdOut, setExeStdErr, setExeStdOut, setLanguage, setProblem, setSource, setStatus, setStdOutDiff, setTime |
| Methods inherited from class net.codescore.dbo.CDO |
|---|
compareTo, equals, getPK, refresh |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface net.codescore.dbo.Submission |
|---|
getCompileStdErr, getCompileStdOut, getExeStdErr, getExeStdOut, getLanguage, getProblem, getSource, getStatus, getStdOutDiff, getTime, setCompileStdErr, setCompileStdOut, setExeStdErr, setExeStdOut, setLanguage, setProblem, setSource, setStatus, setStdOutDiff, setTime |
| Methods inherited from interface org.apache.cayenne.DataObject |
|---|
addToManyTarget, fetchFinished, getDataContext, getSnapshotVersion, readNestedProperty, readProperty, readPropertyDirectly, removeToManyTarget, setDataContext, setSnapshotVersion, setToOneTarget, writeProperty, writePropertyDirectly |
| Methods inherited from interface org.apache.cayenne.Persistent |
|---|
getObjectContext, getObjectId, getPersistenceState, setObjectContext, setObjectId, setPersistenceState |
| Methods inherited from interface net.codescore.dbo.inf.ContextObject |
|---|
getObjectContext |
| Field Detail |
|---|
private static final SimpleDateFormat sdf
private static final long serialVersionUID
private File srcFile
private File tempDir
private File compileStdOut
private File compileStdErr
private File exeStdErr
private File exeStdOut
private File expStdOut
private File logFile
| Constructor Detail |
|---|
public JudgeSolution()
| Method Detail |
|---|
public File getCompileStdErrFile()
getCompileStdErrFile in interface Submissionpublic File getCompileStdOutFile()
getCompileStdOutFile in interface Submissionpublic File getExecuteStdErrFile()
getExecuteStdErrFile in interface Submissionpublic File getExecuteStdOutFile()
getExecuteStdOutFile in interface Submissionpublic File getExpectedStdOutFile()
getExpectedStdOutFile in interface Submissionpublic File getLogFile()
getLogFile in interface Submission
public File getSrcFile()
throws IOException
getSrcFile in interface SubmissionIOException - If the source file cannot be written using the content in
Submission.getSource()public File getTempDir()
getTempDir in interface Submissionprivate File touchLocalFile(String fName)
private void writeSrcFile()
throws IOException
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||