public interface Requirement extends Adaptable
| Modifier and Type | Method and Description |
|---|---|
Object |
getAttribute(String key)
Get the value of the given attribute
|
Map<String,Object> |
getAttributes()
Returns the attributes of this requirement.
|
String |
getDirective(String key)
Get the value of the given directive
|
Map<String,String> |
getDirectives()
Returns the directives of this requirement.
|
String |
getNamespace()
Returns the namespace of this requirement.
|
Resource |
getResource()
Returns the resource declaring this requirement.
|
boolean |
isOptional()
A flag indicating that this is an optional requirement.
|
String getNamespace()
Map<String,String> getDirectives()
String getDirective(String key)
Map<String,Object> getAttributes()
Requirement attributes have no specified semantics and are considered extra user defined information.
Object getAttribute(String key)
boolean isOptional()
Resource getResource()
null
if this requirement is synthesized.Copyright © 2014 JBoss by Red Hat. All rights reserved.