public enum MetadataProviderResponse extends Enum<MetadataProviderResponse>
the system on how it should interpret the provider's handling of the call. If HANDLED, then the system will consider
that a valid provider was found for the request, and subsequently not call the default provider. If all registered
providers respond with NOT_HANDLED, then the default provider is called. If HANDLED_BREAK is returned, then the
provider loop is immediately exited and the default provider is not called.
In combination with the
Ordered, this provides a way for a provider to either override
existing behavior by setting a low order and returning HANDLED_BREAK, or add to behavior by setting any order and
|Enum Constant and Description|
|Modifier and Type||Method and Description|
Returns the enum constant of this type with the specified name.
Returns an array containing the constants of this enum type, in the order they are declared.
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
public static final MetadataProviderResponse HANDLED
public static final MetadataProviderResponse NOT_HANDLED
public static final MetadataProviderResponse HANDLED_BREAK
public static MetadataProviderResponse values()
for (MetadataProviderResponse c : MetadataProviderResponse.values()) System.out.println(c);
public static MetadataProviderResponse valueOf(String name)
Copyright © 2019. All rights reserved.