@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 QuestionEvent
public List<String> getJobId()
getJobId
in interface QuestionEvent
public boolean matches(Object event)
matches
in interface org.xwiki.observation.event.Event
Copyright © 2004–2015 XWiki. All rights reserved.