Package com.epam.reportportal.cucumber
Class Step
- java.lang.Object
-
- com.epam.reportportal.cucumber.Step
-
public class Step extends java.lang.ObjectRepresents a step in a Cucumber scenario execution with its Report Portal ID and type.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStep.TypeEnumeration of possible step types.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.reactivex.Maybe<java.lang.String>getId()Returns the Report Portal ID for this step.java.util.DategetTimestamp()Returns the timestamp when this step was created.Step.TypegetType()Returns the type of this step.
-
-
-
Constructor Detail
-
Step
public Step(@Nonnull io.reactivex.Maybe<java.lang.String> id, @Nonnull Step.Type type)Creates a new step with the specified ID and type.- Parameters:
id- the Report Portal IDtype- the step type
-
-
Method Detail
-
getId
@Nonnull public io.reactivex.Maybe<java.lang.String> getId()
Returns the Report Portal ID for this step.- Returns:
- the Report Portal ID
-
getType
@Nonnull public Step.Type getType()
Returns the type of this step.- Returns:
- the step type
-
getTimestamp
@Nonnull public java.util.Date getTimestamp()
Returns the timestamp when this step was created.- Returns:
- the creation timestamp
-
-