| Modifier and Type | Method and Description |
|---|---|
| public RequirementBuilder | Returns: This requirement builder.The attribute name. name, Object The attribute value. value)Add an attribute to the set of attributes. |
| public RequirementBuilder | Returns: This requirement builder.The directive name. name, String The directive value. value)Add a directive to the set of directives. |
| public Requirement | Returns: A requirement created based upon the values set in this requirement builder.Create a requirement based upon the values set in this requirement builder. |
| public IdentityExpression | Returns: A requirement expression created for a requirement based upon the values set in this requirement builder.Create a requirement expression for a requirement based upon the values set in this requirement builder. |
| public RequirementBuilder | Returns: This requirement builder.The map of attributes. attributes)Replace all attributes with the attributes in the specified map. |
| public RequirementBuilder | Returns: This requirement builder.The map of directives. directives)Replace all directives with the directives in the specified map. |
| public RequirementBuilder |
| addAttribute | back to summary |
|---|---|
| public RequirementBuilder addAttribute(String name, Object value) Add an attribute to the set of attributes.
| |
| addDirective | back to summary |
|---|---|
| public RequirementBuilder addDirective(String name, String value) Add a directive to the set of directives.
| |
| build | back to summary |
|---|---|
| public Requirement build() Create a requirement based upon the values set in this requirement builder.
| |
| buildExpression | back to summary |
|---|---|
| public IdentityExpression buildExpression() Create a requirement expression for a requirement based upon the values set in this requirement builder.
| |
| setAttributes | back to summary |
|---|---|
| public RequirementBuilder setAttributes(Map<String, Object> attributes) Replace all attributes with the attributes in the specified map.
| |
| setDirectives | back to summary |
|---|---|
| public RequirementBuilder setDirectives(Map<String, String> directives) Replace all directives with the directives in the specified map.
| |
| setResource | back to summary |
|---|---|
| public RequirementBuilder setResource(Resource resource) Set the A resource is optional. This method will replace any previously set resource.
| |