public class BaseEventCollection extends Object implements EventCollection
Constructor and Description |
---|
BaseEventCollection() |
Modifier and Type | Method and Description |
---|---|
void |
add(InstanceView<?> event)
Invoked when new instance is created
|
Collection<InstanceView<?>> |
getEvents()
Returns all collected events.
|
void |
remove(InstanceView<?> item)
Invoked when instance is removed
|
void |
update(InstanceView<?> item)
Invoked when instance is updated
|
public void update(InstanceView<?> item)
EventCollection
update
in interface EventCollection
public void remove(InstanceView<?> item)
EventCollection
remove
in interface EventCollection
public Collection<InstanceView<?>> getEvents()
EventCollection
getEvents
in interface EventCollection
public void add(InstanceView<?> event)
EventCollection
add
in interface EventCollection
event
- view of the instance in compact wayCopyright © 2001–2018 JBoss by Red Hat. All rights reserved.