Modifier and Type | Method and Description |
---|---|
IntentResource |
apply(IntentResource domainIntentResource)
Requests that the provider apply the path from the intent resource.
|
void |
cancel(IntentResource domainIntentResource)
Requests that the provider cancel the path.
|
java.util.Set<IntentResource> |
getResources()
Returns all intent resources held by the provider.
|
IntentResource |
modify(IntentResource oldResource,
IntentResource newResource)
Request that the provider attempt to modify an existing resource to satisfy
a new intent primitive.
|
void |
release(IntentResource resource)
Requests that the provider release an intent resource.
|
java.util.List<IntentResource> |
request(IntentDomain domain,
IntentPrimitive primitive)
Requests that the provider attempt to satisfy the intent primitive.
|
java.util.List<IntentResource> request(IntentDomain domain, IntentPrimitive primitive)
domain
- intent domain for the requestprimitive
- intent primitiveIntentResource modify(IntentResource oldResource, IntentResource newResource)
oldResource
- the resource to be replacednewResource
- the resource to be appliedvoid release(IntentResource resource)
resource
- intent resourceIntentResource apply(IntentResource domainIntentResource)
domainIntentResource
- request contextvoid cancel(IntentResource domainIntentResource)
domainIntentResource
- the intent resource whose path should be cancelled.java.util.Set<IntentResource> getResources()