Class AnnotatedStoryTitle

java.lang.Object
net.thucydides.core.model.AnnotatedStoryTitle

public class AnnotatedStoryTitle
extends java.lang.Object
Read the story name from the @DisplayName annotation if present
  • Constructor Summary

    Constructors 
    Constructor Description
    AnnotatedStoryTitle()  
  • Method Summary

    Modifier and Type Method Description
    static java.util.Optional<java.lang.String> forClass​(java.lang.Class<?> userStoryClass)  

    Methods inherited from class java.lang.Object

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

    • AnnotatedStoryTitle

      public AnnotatedStoryTitle()
  • Method Details

    • forClass

      public static java.util.Optional<java.lang.String> forClass​(java.lang.Class<?> userStoryClass)