to.etc.domui.util.resources
Interface IResourceDependencyList

All Known Implementing Classes:
ResourceDependencyList

public interface IResourceDependencyList

Collects dependencies.

Author:
Frits Jalvingh Created on Jan 15, 2011

Method Summary
 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.
 

Method Detail

add

void add(@Nonnull
         IResourceRef ref)
Add a resource to the dependency list. The resource should either implement IIsModified 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.

Parameters:
ref -

add

void add(@Nonnull
         IIsModified m)
Add a IIsModified instance.

Parameters:
m -

add

void add(@Nonnull
         IModifyableResource c)
Add an IModifyableResource instance.

Parameters:
m -