protected class ContestTestFrame.RunListener extends Object implements IRunEventListener
Modifier | Constructor and Description |
---|---|
protected |
RunListener() |
Modifier and Type | Method and Description |
---|---|
void |
runCheckedOut(IRun run,
boolean isFinal)
Invoked when a run has been checked by a judge.
|
void |
runCompiling(IRun run,
boolean isFinal)
Invoked when an existing run is being compiled.
|
void |
runDeleted(IRun run)
Invoked when an existing run has been deleted from the contest (marked as deleted by the Contest Administrator).
|
void |
runExecuting(IRun run,
boolean isFinal)
Invoked when an existing run is being executed.
|
void |
runJudged(IRun run,
boolean isFinal)
Invoked when an existing run has been judged; that is, has had a Judgement applied to it.
|
void |
runJudgingCanceled(IRun run,
boolean isFinal)
Invoked if the run is re-queued for judgement.
|
void |
runSubmitted(IRun run)
Invoked when a new run has been added to the contest.
|
void |
runUpdated(IRun run,
boolean isFinal)
Invoked when an existing run has been updated (modified) in some way.
|
void |
runValidating(IRun run,
boolean isFinal)
Invoked when an existing run is being validated.
|
public void runJudged(IRun run, boolean isFinal)
IRunEventListener
runJudged
in interface IRunEventListener
run
- the judged IRun
isFinal
- true if this is a action for a final Judgement.public void runUpdated(IRun run, boolean isFinal)
IRunEventListener
Typically a runUpdated()
invocation occurs when either
IJudgement
) in the run.runUpdated
in interface IRunEventListener
run
- the IRun
which has been changedisFinal
- true if this is a action for a final Judgement.public void runExecuting(IRun run, boolean isFinal)
IRunEventListener
runExecuting
in interface IRunEventListener
run
- the IRun
which is being executed.isFinal
- true if this is a action for a final Judgement.public void runValidating(IRun run, boolean isFinal)
IRunEventListener
runValidating
in interface IRunEventListener
run
- the IRun
which is being validated.isFinal
- true if this is a action for a final Judgement.public void runSubmitted(IRun run)
IRunEventListener
Typically this means that a run has been submitted by a team; it may also may be caused by a remote server in a multi-site contest sending its run(s) to the local server.
The added run may have been originally entered into the contest on either the local server (the server to which this client is connected) or on a remote server.
runSubmitted
in interface IRunEventListener
run
- the IRun
that has been added to the contestpublic void runDeleted(IRun run)
IRunEventListener
runDeleted
in interface IRunEventListener
run
- the deleted IRun
public void runCompiling(IRun run, boolean isFinal)
IRunEventListener
runCompiling
in interface IRunEventListener
run
- the IRun
which is being compiled.isFinal
- true if this is a action for a final Judgement.public void runJudgingCanceled(IRun run, boolean isFinal)
IRunEventListener
runJudgingCanceled
in interface IRunEventListener
run
- the IRun
which has been returned to the judging queue.isFinal
- true if this is a action for a final Judgement.public void runCheckedOut(IRun run, boolean isFinal)
IRunEventListener
runCheckedOut
in interface IRunEventListener
run
- the run that was checked outisFinal
- true if this is a action for a final Judgement.IRunEventListener.runJudgingCanceled(edu.csus.ecs.pc2.api.IRun, boolean)