Class FieldValue

java.lang.Object
net.thucydides.core.reflection.FieldValue

public class FieldValue
extends java.lang.Object
Internal class used to set field values inside an object.
  • Constructor Summary

    Constructors
    Constructor Description
    FieldValue​(java.lang.Object targetObject)  
  • Method Summary

    Modifier and Type Method Description
    java.util.Optional<java.lang.Object> fromFieldNamed​(java.lang.String fieldName)  
    static FieldValue inObject​(java.lang.Object targetObject)  

    Methods inherited from class java.lang.Object

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

    • FieldValue

      public FieldValue​(java.lang.Object targetObject)
  • Method Details

    • inObject

      public static FieldValue inObject​(java.lang.Object targetObject)
    • fromFieldNamed

      public java.util.Optional<java.lang.Object> fromFieldNamed​(java.lang.String fieldName)