| Package | Description |
|---|---|
| net.serenitybdd.screenplay | |
| net.serenitybdd.screenplay.conditions | |
| net.serenitybdd.screenplay.events | |
| net.serenitybdd.screenplay.questions | |
| net.serenitybdd.screenplay.waits |
| Modifier and Type | Field and Description |
|---|---|
protected Question<T> |
QuestionConsequence.question |
protected Question<T> |
PredicateConsequence.question |
| Modifier and Type | Method and Description |
|---|---|
<T> Question<T> |
QuestionBuilder.answeredBy(Question<T> questionToAsk) |
default Question<ANSWER> |
Question.as(Class<ANSWER> type) |
default Question<LocalDate> |
Question.asADate() |
default Question<LocalDate> |
Question.asADate(String format) |
default Question<BigDecimal> |
Question.asBigDecimal() |
default Question<Boolean> |
Question.asBoolean() |
default Question<Double> |
Question.asDouble() |
default <T> Question<T> |
Question.asEnum(Class<T> enumType) |
default Question<Float> |
Question.asFloat() |
default Question<Integer> |
Question.asInteger() |
default <T> Question<List<T>> |
Question.asListOf(Class<T> type) |
default Question<Long> |
Question.asLong() |
default Question<String> |
Question.asString() |
default Question<ANSWER> |
Question.describedAs(String description)
Returns a new question with the specified text as a subject.
|
default <T> Question<T> |
Question.map(Function<ANSWER,T> transformer)
Convert the answer to a question into another form using an arbitrary function.
|
default <T> Question<List<T>> |
Question.mapEach(Function<String,T> transformer) |
static Question<Boolean> |
Question.not(Question<Boolean> question) |
static <T> Question<T> |
ExternalValueQuestion.valueOf(T value) |
| Modifier and Type | Method and Description |
|---|---|
QuestionSubject |
QuestionSubject.andQuestion(Question question) |
<T> Question<T> |
QuestionBuilder.answeredBy(Question<T> questionToAsk) |
<ANSWER> ANSWER |
PerformsTasks.asksFor(Question<ANSWER> question) |
<ANSWER> ANSWER |
Actor.asksFor(Question<ANSWER> question) |
RememberThat |
RememberThat.MemoryBuilder.isAnsweredBy(Question<?> value) |
static Question<Boolean> |
Question.not(Question<Boolean> question) |
<ANSWER> void |
Actor.remember(String key,
Question<ANSWER> question) |
static <T> Task |
GivenWhenThen.seeIf(Question<T> question,
org.hamcrest.Matcher<T> matcher) |
static <T> Consequence<T>[] |
GivenWhenThen.seeThat(Question<? extends T> actual,
org.hamcrest.Matcher<T>... expectedMatchers) |
static <T> Consequence<T> |
GivenWhenThen.seeThat(Question<? extends T> actual,
org.hamcrest.Matcher<T> expected) |
static <T> Consequence<T> |
GivenWhenThen.seeThat(Question<? extends T> actual,
Predicate<T> expected) |
static <T> Consequence<T> |
GivenWhenThen.seeThat(Question<Boolean> actual) |
static <T> Consequence<T>[] |
GivenWhenThen.seeThat(String subject,
Question<? extends T> actual,
org.hamcrest.Matcher<T>... expectedMatchers) |
static <T> Consequence<T> |
GivenWhenThen.seeThat(String subject,
Question<? extends T> actual,
org.hamcrest.Matcher<T> expected) |
static <T> Consequence<T> |
GivenWhenThen.seeThat(String subject,
Question<? extends T> actual,
Predicate<T> expected) |
static <T> Consequence<T> |
GivenWhenThen.seeThat(String subject,
Question<Boolean> actual) |
<T> Consequence<T> |
InteractiveConsequence.thenCheckThat(Question<? extends T> actual,
org.hamcrest.Matcher<T> expected) |
| Constructor and Description |
|---|
BooleanQuestionConsequence(Question<Boolean> actual) |
BooleanQuestionConsequence(String subjectText,
Question<Boolean> actual) |
PredicateConsequence(Question<T> actual,
Predicate<T> expected) |
PredicateConsequence(String subjectText,
Question<T> actual,
Predicate<T> expected) |
QuestionConsequence(Question<T> actual,
org.hamcrest.Matcher<T> expected) |
QuestionConsequence(String subjectText,
Question<T> actual,
org.hamcrest.Matcher<T> expected) |
WithQuestion(String memoryKey,
Question<?> question) |
| Constructor and Description |
|---|
QuestionSubject(Class<? extends Question> questionClass) |
| Modifier and Type | Method and Description |
|---|---|
static ConditionalPerformable |
Check.whether(Question<Boolean> condition) |
static <T> ConditionalPerformable |
Check.whether(Question<T> question,
org.hamcrest.Matcher<T> matcher) |
| Constructor and Description |
|---|
ConditionalPerformableOnQuestion(Question<Boolean> condition) |
| Modifier and Type | Method and Description |
|---|---|
Question |
ActorAsksQuestion.getQuestion() |
| Constructor and Description |
|---|
ActorAsksQuestion(Question question,
String actor) |
| Modifier and Type | Class and Description |
|---|---|
class |
CountQuestion |
class |
MaxQuestion<T extends Object & Comparable<? super T>> |
class |
MinQuestion<T extends Object & Comparable<? super T>> |
class |
QuestionWithDefinedSubject<T> |
class |
Remembered<T>
A question that returns a value previously remembered by the actor.
|
class |
ReverseQuestion<T> |
class |
SortedQuestion<T extends Object & Comparable<? super T>> |
class |
SumQuestion |
class |
TheMemory |
| Modifier and Type | Method and Description |
|---|---|
static <ANSWER> Question<ANSWER> |
TheValue.of(ANSWER value) |
static <ANSWER> Question<ANSWER> |
TheValue.of(String subject,
ANSWER value) |
static <T extends Object & Comparable<? super T>> |
AggregateQuestions.theMaximumOf(Question<? extends Collection<T>> listQuestion) |
static <T extends Object & Comparable<? super T>> |
AggregateQuestions.theMaximumOf(Question<? extends Collection<T>> listQuestion,
Comparator<? super T> comparator) |
static <T extends Object & Comparable<? super T>> |
AggregateQuestions.theMinimumOf(Question<? extends Collection<T>> listQuestion) |
static <T extends Object & Comparable<? super T>> |
AggregateQuestions.theMinimumOf(Question<? extends Collection<T>> listQuestion,
Comparator<? super T> comparator) |
static <T> Question<List<T>> |
AggregateQuestions.theReverse(Question<? extends List<T>> listQuestion) |
static <T extends Object & Comparable<? super T>> |
AggregateQuestions.theSorted(Question<? extends List<T>> listQuestion) |
static <T extends Object & Comparable<? super T>> |
AggregateQuestions.theSorted(Question<? extends List<T>> listQuestion,
Comparator<? super T> comparator) |
static Question<Integer> |
AggregateQuestions.theSumOf(Question<? extends Collection<Integer>> listQuestion) |
static <T> Question<Integer> |
AggregateQuestions.theTotalNumberOf(Question<? extends Collection<T>> listQuestion) |
| Modifier and Type | Method and Description |
|---|---|
static <T extends Object & Comparable<? super T>> |
AggregateQuestions.theMaximumOf(Question<? extends Collection<T>> listQuestion) |
static <T extends Object & Comparable<? super T>> |
AggregateQuestions.theMaximumOf(Question<? extends Collection<T>> listQuestion,
Comparator<? super T> comparator) |
static <T extends Object & Comparable<? super T>> |
AggregateQuestions.theMinimumOf(Question<? extends Collection<T>> listQuestion) |
static <T extends Object & Comparable<? super T>> |
AggregateQuestions.theMinimumOf(Question<? extends Collection<T>> listQuestion,
Comparator<? super T> comparator) |
static <T> Question<List<T>> |
AggregateQuestions.theReverse(Question<? extends List<T>> listQuestion) |
static <T extends Object & Comparable<? super T>> |
AggregateQuestions.theSorted(Question<? extends List<T>> listQuestion) |
static <T extends Object & Comparable<? super T>> |
AggregateQuestions.theSorted(Question<? extends List<T>> listQuestion,
Comparator<? super T> comparator) |
static Question<Integer> |
AggregateQuestions.theSumOf(Question<? extends Collection<Integer>> listQuestion) |
static <T> Question<Integer> |
AggregateQuestions.theTotalNumberOf(Question<? extends Collection<T>> listQuestion) |
<T> void |
QuestionHints.HintAdder.to(Question<T> question) |
| Constructor and Description |
|---|
ConsequenceGroup(Question<?> questionGroup) |
CountQuestion(Question<? extends Collection> listQuestion) |
MaxQuestion(Question<? extends Collection<T>> listQuestion) |
MaxQuestion(Question<? extends Collection<T>> listQuestion,
Comparator<? super T> comparator) |
MinQuestion(Question<? extends Collection<T>> listQuestion) |
MinQuestion(Question<? extends Collection<T>> listQuestion,
Comparator<? super T> comparator) |
QuestionWithDefinedSubject(Question<T> theQuestion,
String subject) |
QuestionWithDefinedSubject(Question<T> theQuestion,
String subject,
List<Performable> predecingTasks) |
ReverseQuestion(Question<? extends List<T>> listQuestion) |
SortedQuestion(Question<? extends List<T>> listQuestion) |
SortedQuestion(Question<? extends List<T>> listQuestion,
Comparator<? super T> comparator) |
SumQuestion(Question<? extends Collection<Integer>> listQuestion) |
| Modifier and Type | Method and Description |
|---|---|
static WaitWithTimeout |
Wait.until(Question question,
org.hamcrest.Matcher matcher) |
| Constructor and Description |
|---|
WaitOnQuestion(Question question,
org.hamcrest.Matcher matcher) |
Copyright © 2021. All rights reserved.