public interface ActionMetadataProvider
RestAction
s. Possible metadata is enumerated in MetadataType
.Modifier and Type | Interface and Description |
---|---|
static class |
ActionMetadataProvider.MetadataKey
A key composed of
RestAction and a MetadataType . |
Modifier and Type | Method and Description |
---|---|
Object |
getValue(RestAction<?> action,
MetadataType metadataType)
Retrieve metadata for the given action and
MetadataType pair. |
Object getValue(RestAction<?> action, MetadataType metadataType)
MetadataType
pair.action
- The action for which to retrieve metadata.metadataType
- The kind of metadata to retrieve.null
if there is no match.Copyright © 2010–2014 Arcbees. All rights reserved.