Class Report


  • public class Report
    extends java.lang.Object
    cucumber report for an individual test
    • Constructor Summary

      Constructors 
      Constructor Description
      Report()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addError​(java.lang.String error)  
      void addTag​(java.lang.String tagName)  
      java.lang.String getDescription()  
      java.time.LocalDateTime getEnd()  
      java.util.List<java.lang.String> getErrors()  
      java.lang.String getFeature()  
      java.lang.String getOperationId()  
      java.time.LocalDateTime getStart()  
      java.util.List<java.lang.String> getTags()  
      java.lang.String getType()  
      boolean isOK()  
      void setDescription​(java.lang.String description)  
      void setEnd​(java.time.LocalDateTime end)  
      void setFeature​(java.lang.String feature)  
      void setOperationId​(java.lang.String operationId)  
      void setStart​(java.time.LocalDateTime start)  
      void setTags​(java.util.List<java.lang.String> tags)  
      void setType​(java.lang.String type)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Report

        public Report()
    • Method Detail

      • getFeature

        public java.lang.String getFeature()
        Returns:
        name of the feature
      • setFeature

        public void setFeature​(java.lang.String feature)
        Parameters:
        feature - name of the feature
      • getOperationId

        public java.lang.String getOperationId()
        Returns:
        id operation
      • setOperationId

        public void setOperationId​(java.lang.String operationId)
        Parameters:
        operationId - id operation
      • getType

        public java.lang.String getType()
        Returns:
        type
      • setType

        public void setType​(java.lang.String type)
        Parameters:
        type - type
      • getDescription

        public java.lang.String getDescription()
        Returns:
        description
      • setDescription

        public void setDescription​(java.lang.String description)
        Parameters:
        description - description
      • isOK

        public boolean isOK()
        Returns:
        true if the error list is empty, false otherwise
      • getTags

        public java.util.List<java.lang.String> getTags()
        Returns:
        list of tags
      • setTags

        public void setTags​(java.util.List<java.lang.String> tags)
      • getErrors

        public java.util.List<java.lang.String> getErrors()
        Returns:
        list of errors
      • addError

        public void addError​(java.lang.String error)
        Parameters:
        error - add error to the errors list
      • addTag

        public void addTag​(java.lang.String tagName)
        Parameters:
        tagName - add tagName to the Tags list
      • getStart

        public java.time.LocalDateTime getStart()
        Returns:
        the start
      • setStart

        public void setStart​(java.time.LocalDateTime start)
        Parameters:
        start - the start to set
      • getEnd

        public java.time.LocalDateTime getEnd()
        Returns:
        the end
      • setEnd

        public void setEnd​(java.time.LocalDateTime end)
        Parameters:
        end - the end to set