Class QuestionWithDefinedSubject<T>
java.lang.Object
net.serenitybdd.screenplay.questions.QuestionWithDefinedSubject<T>
- All Implemented Interfaces:
Question<T>
public class QuestionWithDefinedSubject<T> extends java.lang.Object implements Question<T>
-
Constructor Summary
Constructors Constructor Description QuestionWithDefinedSubject(Question<T> theQuestion, java.lang.String subject)
QuestionWithDefinedSubject(Question<T> theQuestion, java.lang.String subject, java.util.List<Performable> predecingTasks)
-
Method Summary
Modifier and Type Method Description T
answeredBy(Actor actor)
java.lang.String
getSubject()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
QuestionWithDefinedSubject
public QuestionWithDefinedSubject(Question<T> theQuestion, java.lang.String subject, java.util.List<Performable> predecingTasks) -
QuestionWithDefinedSubject
-
-
Method Details
-
answeredBy
- Specified by:
answeredBy
in interfaceQuestion<T>
-
getSubject
public java.lang.String getSubject()- Specified by:
getSubject
in interfaceQuestion<T>
-