Package | Description |
---|---|
edu.csus.ecs.pc2.api |
PC2 API.
|
edu.csus.ecs.pc2.api.listener |
PC2 API Listeners
and Listener events.
|
Modifier and Type | Method and Description |
---|---|
IProblem[] |
IContest.getAllProblems()
Get an ordered list of all contest problems (hidden or non-hidden).
|
IProblem[] |
IContest.getClarificationCategories()
Get an ordered list of all currently defined clarification categories.
|
IProblem |
IProblemDetails.getProblem()
A Contest Problem.
|
IProblem |
IRun.getProblem()
Get the problem for which this run was submitted.
|
IProblem |
IClarification.getProblem()
Get the problem for which this clarification was submitted.
|
IProblem[] |
IContest.getProblems()
Get an ordered list of all currently defined contest problems.
|
Modifier and Type | Method and Description |
---|---|
void |
ServerConnection.submitClarification(IProblem problem,
String question)
Submit a clarification.
|
void |
ServerConnection.submitRun(IProblem problem,
ILanguage language,
String mainFileName,
String[] additionalFileNames,
long overrideSubmissionTimeMS,
long overrideRunId)
Submit a run.
|
Modifier and Type | Method and Description |
---|---|
IProblem |
ContestEvent.getProblem()
Get the Problem info associated with events of type
ContestEvent.EventType.PROBLEM . |
Constructor and Description |
---|
ContestEvent(ContestEvent.EventType eventType,
IProblem problem)
Construct an event representing a change in a contest Problem.
|