public final class ResourceDependencyList extends Object implements IResourceDependencyList
ResourceDependencies instance is.| Modifier and Type | Field and Description |
|---|---|
static IResourceDependencyList |
NULL
If you do not want to collect dependencies you can use this as an instance.
|
| Constructor and Description |
|---|
ResourceDependencyList() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(IIsModified m)
Add a IIsModified instance.
|
void |
add(IModifyableResource c)
Add an
IModifyableResource instance. |
void |
add(IResourceRef ref)
Add a resource to the dependency list.
|
void |
add(ResourceDependencyList c) |
ResourceDependencies |
createDependencies()
Get the immutable dependencies instance.
|
public static final IResourceDependencyList NULL
public void add(@Nonnull IResourceRef ref)
IResourceDependencyListIIsModified
or IModifyableResource, or this will throw an IllegalArgmentException. If the ref
implements IModifyableResource then it will be wrapped in a ResourceTimestamp
instance which records the current modification time and implements IIsModified.add in interface IResourceDependencyListIResourceDependencyList.add(to.etc.domui.util.resources.IResourceRef)public void add(@Nonnull IIsModified m)
IResourceDependencyListadd in interface IResourceDependencyListIResourceDependencyList.add(to.etc.domui.util.resources.IIsModified)public void add(@Nonnull IModifyableResource c)
IResourceDependencyListIModifyableResource instance.add in interface IResourceDependencyListIResourceDependencyList.add(to.etc.domui.util.resources.IModifyableResource)public void add(@Nonnull ResourceDependencyList c)
to.etc.domui.util.resources.IResourceDependencyList#add(to.etc.domui.util.resources.ResourceDependencyList)public ResourceDependencies createDependencies()
Copyright © 2017 etc.to. All rights reserved.