Class Field.InstantField

java.lang.Object
org.apache.maven.search.api.request.Field
org.apache.maven.search.api.request.Field.InstantField
Enclosing class:
Field

public static class Field.InstantField extends Field
Since:
7.0.4
  • Constructor Details

    • InstantField

      public InstantField(String fieldName)
  • Method Details

    • getFieldValue

      public Instant getFieldValue(Map<Field,Object> record)
      Description copied from class: Field
      Returns the value of the field from given record instance, or null if field not present in record. See subclasses for proper return types.
      Specified by:
      getFieldValue in class Field