java.lang.Object
com.pauware.pauware_engine.Core.AbstractAction
com.pauware.pauware_engine.Core.Action
com.pauware.pauware_engine.Core.SendSignalAction
com.pauware.pauware_engine.Core.Do_activity
- All Implemented Interfaces:
java.lang.Runnable
public class Do_activity extends SendSignalAction
This concrete class represents the general notion of Activity in UML
(do/ notation).
Compatibility: Java 9.
- Since:
- 1.3
-
Field Summary
Fields inherited from class com.pauware.pauware_engine.Core.SendSignalAction
_thread
Fields inherited from class com.pauware.pauware_engine.Core.AbstractAction
_action, _args, _object, _result, Pseudo_result, SendSignalAction_symbol
-
Constructor Summary
Constructors Modifier Constructor Description protected
Do_activity(java.lang.Object object, java.lang.String action, java.lang.Object[] args)
-
Method Summary
Modifier and Type Method Description void
execute()
This method executes an activity (do/ notation) in a standalone thread of control.protected void
wait_for_completion()
This method indefinitely waits for an activity to complete.Methods inherited from class com.pauware.pauware_engine.Core.SendSignalAction
run, to_UML
Methods inherited from class com.pauware.pauware_engine.Core.AbstractAction
compare_args, equals, hashCode, hashCode_args, printable_action, printable_object, printable_result, set_args, verbose
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Do_activity
protected Do_activity(java.lang.Object object, java.lang.String action, java.lang.Object[] args)- Parameters:
object
-action
-args
-- See Also:
SendSignalAction(Object,String,Object[])
-
-
Method Details
-
execute
This method executes an activity (do/ notation) in a standalone thread of control.- Overrides:
execute
in classSendSignalAction
- Throws:
State_exception
- See Also:
SendSignalAction.execute()
-
wait_for_completion
This method indefinitely waits for an activity to complete. Since UML activities (do/ notation) last, this method waits for the completion of the immediate prior execution.- Overrides:
wait_for_completion
in classAction
- Throws:
State_exception
- See Also:
wait_for_completion()
-