public class QuestionAskedEvent extends AbstractQuestionEvent
JobStatus instance that can be used to access the questionnull| Constructor and Description |
|---|
QuestionAskedEvent()
Creates a new event.
|
QuestionAskedEvent(String questionType)
Creates a new event for a question of the specified type.
|
QuestionAskedEvent(String questionType,
List<String> jobId)
Creates a new event for a question of the specified type and a job with the given id.
|
| Modifier and Type | Method and Description |
|---|---|
void |
answered()
Specify that the question that triggered this event has been answered.
|
boolean |
isAnswered() |
equals, getJobId, getQuestionType, hashCode, matchespublic QuestionAskedEvent()
public QuestionAskedEvent(String questionType)
questionType - the type of question that has been askedpublic QuestionAskedEvent(String questionType, List<String> jobId)
questionType - the type of question that has been askedjobId - the id of the job that raised the question that triggered this eventpublic void answered()
public boolean isAnswered()
true if the question that triggered this event has been answered by one of the event listeners,
false otherwiseCopyright © 2004–2017 XWiki. All rights reserved.