Modifier and Type | Method and Description |
---|---|
OslcCore.Finder<T> |
defaultUsage()
Filters the capabilities to retain only the ones whose usage is
"http://open-services.net/ns/core#default" . |
OslcCore.Finder<T> |
domain(URI domain)
Filters the services to retain only the ones of specified domain.
|
List<T> |
findAll()
Returns all capabilities matching the specified criteria.
|
T |
findFirst()
Returns the first capability matching the specified criteria.
|
static OslcCore.Finder<Dialog> |
forCreationDialogs(Service service)
Returns a finder that can search for creation dialogs.
|
static OslcCore.Finder<CreationFactory> |
forCreationFactories(Service service)
Returns a finder that can search for creation factories.
|
static OslcCore.Finder<QueryCapability> |
forQueryCapabilities(Service service)
Returns a finder that can search for query capabilities.
|
static OslcCore.Finder<Dialog> |
forSelectionDialogs(Service service)
Returns a finder that can search for selection dialogs.
|
static OslcCore.Finder<Service> |
forServices(ServiceProvider serviceProvider)
Returns a finder that can search for services.
|
OslcCore.Finder<T> |
resourceType(URI resourceType)
Filters the capabilities to retain only the ones of specified resoure type.
|
OslcCore.Finder<T> |
usage(URI usage)
Filters the capabilities to retain only the ones of specified usage.
|
public static OslcCore.Finder<Service> forServices(ServiceProvider serviceProvider)
serviceProvider
- the provider declaring services.public static OslcCore.Finder<Dialog> forSelectionDialogs(Service service)
service
- the service declaring selection dialogs.public static OslcCore.Finder<Dialog> forCreationDialogs(Service service)
service
- the service declaring creation dialogs.public static OslcCore.Finder<CreationFactory> forCreationFactories(Service service)
service
- the service declaring creation factories.public static OslcCore.Finder<QueryCapability> forQueryCapabilities(Service service)
service
- the service declaring query capabilities.public final OslcCore.Finder<T> defaultUsage()
"http://open-services.net/ns/core#default"
.public final OslcCore.Finder<T> domain(URI domain)
domain
- the domain that the services must define.public final OslcCore.Finder<T> usage(URI usage)
usage
- the usage that the capabilities must define.public final OslcCore.Finder<T> resourceType(URI resourceType)
resourceType
- the resource type the capabilities must define.public final List<T> findAll()
public T findFirst()
null
if none.