public interface Asset extends Described
RepositoryService.VirtualRepository,
RepositoryService| Modifier and Type | Method and Description |
|---|---|
String |
id()
Returns the identifier of this asset.
|
String |
name()
Returns the name of this asset.
|
RepositoryService |
service()
Returns the
RepositoryService with which this asset was retrieved or should be published. |
AssetType |
type()
Returns the
AssetType of this asset. |
String |
version()
Returns the version of this asset, if available.
|
propertiesString id()
The identifier must unambiguously distinguish this asset from any other asset that can be retrieved or published with any repository service.
String name()
The name must unambiguously distinguish this asset from any other asset that can be retrieved or published with repository service associated with this asset.
String version()
null if the asset is not versioned.RepositoryService service()
RepositoryService with which this asset was retrieved or should be published.Copyright © 2018. All rights reserved.