@Unstable public abstract class AbstractQuestionEvent extends Object implements QuestionEvent
| Constructor and Description |
|---|
AbstractQuestionEvent()
Creates an event that can be triggered by any type of question.
|
AbstractQuestionEvent(String questionType)
Creates an event that can be triggered by a question of the specified type.
|
AbstractQuestionEvent(String questionType,
List<String> jobId)
Creates an event that can be triggered by a question of the specified type when asked by a job with the specified
id.
|
public AbstractQuestionEvent()
public AbstractQuestionEvent(String questionType)
questionType - the type of question that can trigger this eventpublic AbstractQuestionEvent(String questionType, List<String> jobId)
questionType - the type of question that can trigger this eventjobId - the id of the job that raised the question that triggered this eventpublic String getQuestionType()
getQuestionType in interface QuestionEventpublic List<String> getJobId()
getJobId in interface QuestionEventpublic boolean matches(Object event)
matches in interface org.xwiki.observation.event.EventCopyright © 2004–2016 XWiki. All rights reserved.