Class Step


  • public class Step
    extends java.lang.Object
    Represents 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 class  Step.Type
      Enumeration of possible step types.
    • Constructor Summary

      Constructors 
      Constructor Description
      Step​(io.reactivex.Maybe<java.lang.String> id, Step.Type type)
      Creates a new step with the specified ID and type.
    • 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.Date getTimestamp()
      Returns the timestamp when this step was created.
      Step.Type getType()
      Returns the type of this step.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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 ID
        type - 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