public class AttributeSupport extends Object implements Attributeable
ALSO_IMPORT, DEFAULT_VALUE, INIT, INIT_FUNCTION, LAZY_INIT
Constructor and Description |
---|
AttributeSupport(Map<AttributeKey,Object> attributes) |
Modifier and Type | Method and Description |
---|---|
<T> T |
getAttribute(AttributeKey<T> key) |
Map<AttributeKey,Object> |
getAttributes() |
<T> boolean |
hasAttribute(AttributeKey<T> key) |
public AttributeSupport(Map<AttributeKey,Object> attributes)
public Map<AttributeKey,Object> getAttributes()
getAttributes
in interface Attributeable
public <T> T getAttribute(AttributeKey<T> key)
getAttribute
in interface Attributeable
public <T> boolean hasAttribute(AttributeKey<T> key)
hasAttribute
in interface Attributeable
Copyright © 2019 JBoss by Red Hat. All rights reserved.