public abstract class AbstractReplaceableActivity extends AbstractActivity implements ReplaceableActivity
AbstractActivity, added abstraction of
a ReplaceableActivity, i.e. implementations may
replace another activity in addition to a mere extension.PROPERTY_ADD_FRAME_NUMBERS, PROPERTY_NEW_END_INSTANT, PROPERTY_NEW_START_INSTANTsource| Constructor and Description |
|---|
AbstractReplaceableActivity(Object source)
Constructs a prototypical Event.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isReplaced() |
void |
replaceActivity(ReplaceableActivity activity) |
void |
setReplaced(boolean isReplaced)
Indicate, that this activity has been replaced.
|
addOptionalField, addPropertyChangeListener, addPropertyChangeListener, extendActivity, getActivityType, getCompoundFrameNumbers, getDescription, getDestinationAddressAsString, getEndInstant, getEndTimestamp, getOptionalFields, getSourceAddressAsString, getStartInstant, getStartTimestamp, isExcludedFromOutput, removePropertyChangeListener, removePropertyChangeListener, removeReplacedActivity, setDescription, setDestinationAddress, setEndInstant, setExcludedFromOutput, setSourceAddress, setStartInstant, toString, writeCsvRecordgetSourceclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddPropertyChangeListener, addPropertyChangeListener, getActivityType, getCompoundFrameNumbers, getDescription, getDestinationAddressAsString, getEndInstant, getEndTimestamp, getOptionalFields, getSourceAddressAsString, getStartInstant, getStartTimestamp, isExcludedFromOutput, removePropertyChangeListener, removePropertyChangeListener, setExcludedFromOutputpublic AbstractReplaceableActivity(Object source)
source - The object on which the Event initially occurred.IllegalArgumentException - if source is null.public boolean isReplaced()
isReplaced in interface ReplaceableActivitypublic void setReplaced(boolean isReplaced)
ReplaceableActivitysetReplaced in interface ReplaceableActivityisReplaced - whether or not this activity will be replaced by the caller.public void replaceActivity(ReplaceableActivity activity)
Copyright © 2013–2015 Institute of networks and security. All rights reserved.