## Uses of Interface
edu.csus.ecs.pc2.api.IRun

- Packages that use IRun
  Package | Description
  --- | ---
  edu.csus.ecs.pc2.api | PC2 API.
  edu.csus.ecs.pc2.api.listener | PC2 API Listeners and Listener events.

- - ### Uses of IRun in edu.csus.ecs.pc2.api

    Methods in edu.csus.ecs.pc2.api that return IRun
    Modifier and Type | Method and Description
    --- | ---
    `IRun` | IContest.`getRun(int runNumber)` Get single run by runNumber from the current site.
    `IRun` | IContest.`getRun(int siteNumber, int runNumber)` Get a run from a site.
    `IRun[]` | IContest.`getRuns()` Get a list of all the runs in the contest.

    Methods in edu.csus.ecs.pc2.api with parameters of type IRun
    Modifier and Type | Method and Description
    --- | ---
    `int` | IRunComparator.`compare(IRun run1, IRun run2)`
    `RunStates` | IContest.`getRunState(IRun run)` Get run state for a run (judge or admin only).
    `protected void` | ContestTestFrame.`printAllJudgements(IRun run)`
    `void` | ContestTestFrame.RunListener.`runCheckedOut(IRun run, boolean isFinal)`
    `void` | ContestTestFrame.RunListener.`runCompiling(IRun run, boolean isFinal)`
    `void` | ContestTestFrame.RunListener.`runDeleted(IRun run)`
    `void` | ContestTestFrame.RunListener.`runExecuting(IRun run, boolean isFinal)`
    `void` | ContestTestFrame.RunListener.`runJudged(IRun run, boolean isFinal)`
    `void` | ContestTestFrame.RunListener.`runJudgingCanceled(IRun run, boolean isFinal)`
    `void` | ContestTestFrame.RunListener.`runSubmitted(IRun run)`
    `void` | ContestTestFrame.RunListener.`runUpdated(IRun run, boolean isFinal)`
    `void` | ContestTestFrame.RunListener.`runValidating(IRun run, boolean isFinal)`
    `void` | ServerConnection.`submitRunJudgement(IRun run, IJudgement judgement)` Submit run judgement for a run.

  - ### Uses of IRun in edu.csus.ecs.pc2.api.listener

    Methods in edu.csus.ecs.pc2.api.listener with parameters of type IRun
    Modifier and Type | Method and Description
    --- | ---
    `void` | IRunEventListener.`runCheckedOut(IRun run, boolean isFinal)` Invoked when a run has been checked by a judge.
    `void` | IRunEventListener.`runCompiling(IRun run, boolean isFinal)` Invoked when an existing run is being compiled.
    `void` | IRunEventListener.`runDeleted(IRun run)` Invoked when an existing run has been deleted from the contest (marked as deleted by the Contest Administrator).
    `void` | IRunEventListener.`runExecuting(IRun run, boolean isFinal)` Invoked when an existing run is being executed.
    `void` | IRunEventListener.`runJudged(IRun run, boolean isFinal)` Invoked when an existing run has been judged; that is, has had a Judgement applied to it.
    `void` | IRunEventListener.`runJudgingCanceled(IRun run, boolean isFinal)` Invoked if the run is re-queued for judgement.
    `void` | IRunEventListener.`runSubmitted(IRun run)` Invoked when a new run has been added to the contest.
    `void` | IRunEventListener.`runUpdated(IRun run, boolean isFinal)` Invoked when an existing run has been updated (modified) in some way.
    `void` | IRunEventListener.`runValidating(IRun run, boolean isFinal)` Invoked when an existing run is being validated.