S - the type of the sets (e.g. ParameterSet)T - the type of the asset container (e.g. Parameter)U - the type of the asset (e.g. ParameterType)public abstract class Assets<S extends SetType,T,U> extends Object
| Constructor and Description |
|---|
Assets(List<? extends SetType> assetSets)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addAsset(T asset,
String processUsage)
Add an asset to the corresponding asset set.
|
<V extends U> |
addAsset(V assetType,
Part part,
String processUsage)
Add an asset to the corresponding asset set.
|
void |
addAssetSet(S assetSet)
Add an asset set to the known assets.
|
protected XJdfNodeFactory |
getNodeFactory()
Getter for the factory for xjdf nodes.
|
public final void addAsset(@NotNull
T asset,
@Nullable
String processUsage)
asset - Asset to addprocessUsage - Process usage of the assetpublic final <V extends U> void addAsset(@NotNull V assetType, @Nullable Part part, @Nullable String processUsage)
V - Type of the added assetassetType - Asset to addpart - Partition to add the asset toprocessUsage - Process usage of the assetpublic final void addAssetSet(S assetSet)
assetSet - Set of assets to add.@NotNull protected final XJdfNodeFactory getNodeFactory()
Copyright © 2016. All rights reserved.