Package reactor.core

Class Scannable.Attr<T>

java.lang.Object
reactor.core.Scannable.Attr<T>
Type Parameters:
T - the type of data associated with an attribute
Enclosing interface:
Scannable

public static class Scannable.Attr<T> extends Object
Base class for Scannable attributes, which all can define a meaningful default.
  • Field Details

  • Constructor Details

  • Method Details

    • defaultValue

      public @Nullable T defaultValue()
      Meaningful and always applicable default value for the attribute, returned instead of null when a specific value hasn't been defined for a component. null if no sensible generic default is available.
      Returns:
      the default value applicable to all components or null if none.