protected class ContestTestFrame.RunListener extends Object implements IRunEventListener
| Modifier | Constructor and Description |
|---|---|
protected |
ContestTestFrame.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)
IRunEventListenerrunJudged in interface IRunEventListenerrun - the judged IRunisFinal - 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 IRunEventListenerrun - the IRun which has been changedisFinal - true if this is a action for a final Judgement.public void runExecuting(IRun run, boolean isFinal)
IRunEventListenerrunExecuting in interface IRunEventListenerrun - the IRun which is being executed.isFinal - true if this is a action for a final Judgement.public void runValidating(IRun run, boolean isFinal)
IRunEventListenerrunValidating in interface IRunEventListenerrun - the IRun which is being validated.isFinal - true if this is a action for a final Judgement.public void runSubmitted(IRun run)
IRunEventListenerTypically 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 IRunEventListenerrun - the IRun that has been added to the contestpublic void runDeleted(IRun run)
IRunEventListenerrunDeleted in interface IRunEventListenerrun - the deleted IRunpublic void runCompiling(IRun run, boolean isFinal)
IRunEventListenerrunCompiling in interface IRunEventListenerrun - the IRun which is being compiled.isFinal - true if this is a action for a final Judgement.public void runJudgingCanceled(IRun run, boolean isFinal)
IRunEventListenerrunJudgingCanceled in interface IRunEventListenerrun - 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)
IRunEventListenerrunCheckedOut in interface IRunEventListenerisFinal - true if this is a action for a final Judgement.IRunEventListener.runJudgingCanceled(edu.csus.ecs.pc2.api.IRun, boolean)