public interface Requirement
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.lang.Object> |
getAttributes()
Return a map of attributes.
|
java.lang.String |
getComment() |
java.util.Map<java.lang.String,java.lang.String> |
getDirectives()
Return the map of directives for this requirement.
|
java.lang.String |
getFilter()
Return the filter.
|
java.lang.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.
|
java.util.Map<java.lang.String,java.lang.Object> getAttributes()
java.util.Map<java.lang.String,java.lang.String> getDirectives()
java.lang.String getName()
java.lang.String getFilter()
boolean isMultiple()
boolean isOptional()
boolean isExtend()
java.lang.String getComment()
boolean isSatisfied(Capability capability)
capability
- the capability to checktrue
is the capability satisfies this requirement, false
otherwiseCopyright © 2006-2017 The Apache Software Foundation. All Rights Reserved.