org.entityfs.util.obs.polling
Class ChildEntitiesStabilizedEvent

java.lang.Object
  extended by org.entityfs.event.AbstractEntityEvent<T>
      extended by org.entityfs.event.AbstractChildEntitiesEvent<ChildEntitiesStabilizedEvent>
          extended by org.entityfs.util.obs.polling.ChildEntitiesStabilizedEvent
All Implemented Interfaces:
ChildEntitiesEvent<ChildEntitiesStabilizedEvent>, EntityEvent<ChildEntitiesStabilizedEvent>

public final class ChildEntitiesStabilizedEvent
extends AbstractChildEntitiesEvent<ChildEntitiesStabilizedEvent>
implements ChildEntitiesEvent<ChildEntitiesStabilizedEvent>

This event is fired by the PollingDirectoryMonitorer when new or modified child entities have been stabilized. A stabilized entity is an entity that has not been modified in a configurable amount of time.

Since:
1.0
Author:
Karl Gustafsson
See Also:
PollingDirectoryMonitorer
In_jar:
entityfs-util

Constructor Summary
ChildEntitiesStabilizedEvent(EntityView sender, Collection<? extends EntityView> entities)
           
 
Method Summary
 ChildEntitiesStabilizedEvent copy(EntityView sender, Collection<? extends EntityView> entities)
          This is a variant of EntityEvent.copy(EntityView) that sets the given entity view as sender and the collection of entity views as child entities.
 boolean equals(Object o)
           
 int hashCode()
           
 
Methods inherited from class org.entityfs.event.AbstractChildEntitiesEvent
copy, getChildEntities, getChildEntitiesInternal, toString
 
Methods inherited from class org.entityfs.event.AbstractEntityEvent
getSender
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.entityfs.event.ChildEntitiesEvent
getChildEntities
 
Methods inherited from interface org.entityfs.event.EntityEvent
copy, getSender
 

Constructor Detail

ChildEntitiesStabilizedEvent

public ChildEntitiesStabilizedEvent(EntityView sender,
                                    Collection<? extends EntityView> entities)
Method Detail

copy

public ChildEntitiesStabilizedEvent copy(EntityView sender,
                                         Collection<? extends EntityView> entities)
Description copied from interface: ChildEntitiesEvent
This is a variant of EntityEvent.copy(EntityView) that sets the given entity view as sender and the collection of entity views as child entities.

Specified by:
copy in interface ChildEntitiesEvent<ChildEntitiesStabilizedEvent>
Parameters:
sender - The sender
entities - The child entities.

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object