RequirementImpl
public interface Requirement
Modifier and Type | Method | Description |
---|---|---|
Map<String,Object> |
getAttributes() |
Return a map of attributes.
|
String |
getComment() |
|
Map<String,String> |
getDirectives() |
Return the map of directives for this requirement.
|
String |
getFilter() |
Return the filter.
|
String |
getName() |
Return the name of the requirement.
|
boolean |
isExtend() |
|
boolean |
isMultiple() |
|
boolean |
isOptional() |
|
boolean |
isSatisfied(Capability capability) |
Check if the given capability satisfied this requirement.
|
Map<String,Object> getAttributes()
Map<String,String> getDirectives()
String getName()
String getFilter()
boolean isMultiple()
boolean isOptional()
boolean isExtend()
String getComment()
boolean isSatisfied(Capability capability)
capability
- the capability to checktrue
is the capability satisfies this requirement, false
otherwiseCopyright © 2018. All rights reserved.