net.codescore.dbo
Interface Submission

All Superinterfaces:
DataObject, Persistent, Serializable
All Known Implementing Classes:
JudgeSolution, TeamSubmission

public interface Submission
extends DataObject


Field Summary
 
Fields inherited from interface org.apache.cayenne.DataObject
DEFAULT_VERSION
 
Method Summary
 String getCompileStdErr()
           
 File getCompileStdErrFile()
           
 String getCompileStdOut()
           
 File getCompileStdOutFile()
           
 File getExecuteStdErrFile()
           
 File getExecuteStdOutFile()
           
 String getExeStdErr()
           
 String getExeStdOut()
           
 File getExpectedStdOutFile()
           
 Language getLanguage()
           
 File getLogFile()
           
 Problem getProblem()
           
 String getSource()
           
 File getSrcFile()
           
 ProblemStatus getStatus()
           
 String getStdOutDiff()
           
 File getTempDir()
           
 Date getTime()
           
 void setCompileStdErr(String compileStdErr)
           
 void setCompileStdOut(String compileStdOut)
           
 void setExeStdErr(String exeStdErr)
           
 void setExeStdOut(String exeStdOut)
           
 void setLanguage(Language language)
           
 void setProblem(Problem problem)
           
 void setSource(String source)
           
 void setStatus(ProblemStatus status)
           
 void setStdOutDiff(String stdOutDiff)
           
 void setTime(Date time)
           
 
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
 

Method Detail

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.