public final class RepositoryService extends PropertyHolder
VirtualRepository.
A repository service has a name, properties, and a ServiceProxy that can access the service.
VirtualRepository| Constructor and Description |
|---|
RepositoryService(QName name,
ServiceProxy proxy,
Property... properties) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
hashCode() |
QName |
name()
Returns the name of this service.
|
ServiceProxy |
proxy()
Returns the proxy of this service.
|
Collection<AssetType> |
publishedTypes()
Returns all the
AssetTypes that can be published by this service. |
boolean |
publishes(AssetType... types)
Returns
true if assets of at least one of given AssetTypes can be published with this service. |
Collection<AssetType> |
returnedTypes()
Returns all the
AssetTypes that can be returned by this service. |
boolean |
returns(AssetType... types)
Returns
true if assets of at least one of given AssetTypes can be returned by this service. |
String |
toString() |
properties, propertiespublic RepositoryService(QName name, ServiceProxy proxy, Property... properties)
public QName name()
public ServiceProxy proxy()
public boolean publishes(AssetType... types)
true if assets of at least one of given AssetTypes can be published with this service.types - the typestrue if assets of at least one of given AssetTypes can be published with this servicepublic Collection<AssetType> publishedTypes()
AssetTypes that can be published by this service.public boolean returns(AssetType... types)
true if assets of at least one of given AssetTypes can be returned by this service.types - the typestrue if assets of at least one of given AssetTypes can be returned by this servicepublic Collection<AssetType> returnedTypes()
AssetTypes that can be returned by this service.public int hashCode()
hashCode in class PropertyHolderpublic boolean equals(Object obj)
equals in class PropertyHolderCopyright © 2018. All rights reserved.