Interface Requirement
- All Known Implementing Classes:
RequirementImpl
public interface Requirement
A named requirement specifies the need for certain capabilities with the same
name.
A requirement is said to be satisfied by a capability if and only if:
- they have the same nsame
- the filter matches the capability properties
- Version:
- $Revision: 1.4 $
-
Method Summary
Modifier and TypeMethodDescriptionReturn a map of attributes.Return the map of directives for this requirement.Return the filter.getName()Return the name of the requirement.booleanisExtend()booleanbooleanbooleanisSatisfied(Capability capability) Check if the given capability satisfied this requirement.
-
Method Details
-
getAttributes
-
getDirectives
-
getName
String getName()Return the name of the requirement. -
getFilter
String getFilter()Return the filter. -
isMultiple
boolean isMultiple() -
isOptional
boolean isOptional() -
isExtend
boolean isExtend() -
getComment
String getComment() -
isSatisfied
Check if the given capability satisfied this requirement.- Parameters:
capability- the capability to check- Returns:
trueis the capability satisfies this requirement,falseotherwise
-