Enum MonetaryAmountFactoryProviderSpi.QueryInclusionPolicy

All Implemented Interfaces:, java.lang.Comparable<MonetaryAmountFactoryProviderSpi.QueryInclusionPolicy>, java.lang.constant.Constable
Enclosing interface:
MonetaryAmountFactoryProviderSpi<T extends MonetaryAmount>

public static enum MonetaryAmountFactoryProviderSpi.QueryInclusionPolicy
extends java.lang.Enum<MonetaryAmountFactoryProviderSpi.QueryInclusionPolicy>
Determines how the factory should be considered when querying for matching implementation types calling Monetary.getAmountFactory( .
See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    java.lang.Enum.EnumDesc<E extends java.lang.Enum<E>>
  • Enum Constant Summary

    Enum Constants 
    Enum Constant Description
    Always include this factory (and the corresponding amount type) within queries.
    Only consider this factory, when the implementation type is specified explicitly in the MonetaryContext required.
    Never consider this factory in a query for a matching MonetaryAmount implementation.
  • Method Summary

    Modifier and Type Method Description
    static MonetaryAmountFactoryProviderSpi.QueryInclusionPolicy valueOf​(java.lang.String name)
    Returns the enum constant of this type with the specified name.
    static MonetaryAmountFactoryProviderSpi.QueryInclusionPolicy[] values()
    Returns an array containing the constants of this enum type, in the order they are declared.

    Methods inherited from class java.lang.Enum

    clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait