Package org.jbpm.designer.repository
Interface Asset<T>
-
- All Superinterfaces:
Item
- All Known Implementing Classes:
AbstractAsset
,BinaryAsset
,TextAsset
public interface Asset<T> extends Item
Primary component managed by repository and can represent any type of underlying files.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
Asset.AssetType
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
getAssetContent()
Returns actual content of this assetString
getAssetLocation()
Returns location in the repository where this asset is storedString
getAssetType()
Returns type of the asset.-
Methods inherited from interface org.jbpm.designer.repository.Item
getCreationDate, getDescription, getFullName, getLastModificationDate, getName, getOwner, getUniqueId, getVersion
-
-
-
-
Method Detail
-
getAssetLocation
String getAssetLocation()
Returns location in the repository where this asset is stored- Returns:
- - asset location
-
getAssetType
String getAssetType()
Returns type of the asset.- Returns:
- - asset type
-
getAssetContent
T getAssetContent()
Returns actual content of this asset- Returns:
- - asset content
-
-