Class AdaptationBehaviorExecutedNotification
- java.lang.Object
-
- org.eclipse.emf.common.notify.impl.NotificationImpl
-
- org.palladiosimulator.simulizar.action.interpreter.notifications.AdaptationBehaviorExecutedNotification
-
- All Implemented Interfaces:
Notification
,NotificationChain
public class AdaptationBehaviorExecutedNotification extends NotificationImpl
Notification class to indicate that anAdaptationBehavior
was executed successfully.
-
-
Field Summary
Fields Modifier and Type Field Description static int
ADAPTATION_BEHAVIOR_EXECUTED_EVENT_TYPE
-
Fields inherited from class org.eclipse.emf.common.notify.impl.NotificationImpl
eventType, IS_SET_CHANGE_INDEX, newIEEEPrimitiveValue, newSimplePrimitiveValue, newValue, next, oldIEEEPrimitiveValue, oldSimplePrimitiveValue, oldValue, position, PRIMITIVE_TYPE_BOOLEAN, PRIMITIVE_TYPE_BYTE, PRIMITIVE_TYPE_CHAR, PRIMITIVE_TYPE_DOUBLE, PRIMITIVE_TYPE_FLOAT, PRIMITIVE_TYPE_INT, PRIMITIVE_TYPE_LONG, PRIMITIVE_TYPE_OBJECT, PRIMITIVE_TYPE_SHORT, primitiveType
-
Fields inherited from interface org.eclipse.emf.common.notify.Notification
ADD, ADD_MANY, CREATE, EVENT_TYPE_COUNT, MOVE, NO_FEATURE_ID, NO_INDEX, REMOVE, REMOVE_MANY, REMOVING_ADAPTER, RESOLVE, SET, UNSET
-
-
Constructor Summary
Constructors Constructor Description AdaptationBehaviorExecutedNotification(AdaptationBehavior executedAction)
Initializes a new instance of theAdaptationBehaviorExecutedNotification
class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AdaptationBehavior
getNewValue()
Gets action that was executed.
Note: Calling this method is is equivalent to callinggetNotifier()
.AdaptationBehavior
getNotifier()
Gets action that is associated with this notification.
Note: Calling this method is is equivalent to callinggetNewValue()
.boolean
isReset()
boolean
isTouch()
-
Methods inherited from class org.eclipse.emf.common.notify.impl.NotificationImpl
add, dispatch, getEventType, getFeature, getFeatureDefaultValue, getFeatureID, getNewBooleanValue, getNewByteValue, getNewCharValue, getNewDoubleValue, getNewFloatValue, getNewIntValue, getNewLongValue, getNewShortValue, getNewStringValue, getOldBooleanValue, getOldByteValue, getOldCharValue, getOldDoubleValue, getOldFloatValue, getOldIntValue, getOldLongValue, getOldShortValue, getOldStringValue, getOldValue, getPosition, isFeatureUnsettable, merge, toString, wasSet
-
-
-
-
Field Detail
-
ADAPTATION_BEHAVIOR_EXECUTED_EVENT_TYPE
public static final int ADAPTATION_BEHAVIOR_EXECUTED_EVENT_TYPE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AdaptationBehaviorExecutedNotification
public AdaptationBehaviorExecutedNotification(AdaptationBehavior executedAction)
Initializes a new instance of theAdaptationBehaviorExecutedNotification
class.- Parameters:
executedAction
- TheAdaptationBehavior
that terminated successfully.- Throws:
NullPointerException
- In caseexecutedAction
isnull
.
-
-
Method Detail
-
getNewValue
public AdaptationBehavior getNewValue()
Gets action that was executed.
Note: Calling this method is is equivalent to callinggetNotifier()
.- Specified by:
getNewValue
in interfaceNotification
- Overrides:
getNewValue
in classNotificationImpl
- Returns:
- The
AdaptationBehavior
that was executed. - See Also:
getNotifier()
-
getNotifier
public AdaptationBehavior getNotifier()
Gets action that is associated with this notification.
Note: Calling this method is is equivalent to callinggetNewValue()
.- Specified by:
getNotifier
in interfaceNotification
- Overrides:
getNotifier
in classNotificationImpl
- Returns:
- The
AdaptationBehavior
that was executed.
-
isTouch
public boolean isTouch()
- Specified by:
isTouch
in interfaceNotification
- Overrides:
isTouch
in classNotificationImpl
- Returns:
- This method always returns
true
.
-
isReset
public boolean isReset()
- Specified by:
isReset
in interfaceNotification
- Overrides:
isReset
in classNotificationImpl
- Returns:
- This method always returns
false
.
-
-