new Action()
This abstract class represents the basic definition implemented in the Action objects.
This abstract class represents the basic definition implemented in the Action objects.
- Implements:
Extends
Members
-
<constant> finishIt :system.signals.Signal
-
This signal emit when the action is finished.
Type:
-
<readonly> phase :string
-
Indicates the current phase.
Type:
- string
-
<readonly> running :boolean
-
Indicates action is running.
Type:
- boolean
-
<constant> startIt :system.signals.Signal
-
This signal emit when the action is started.
Type:
Methods
-
clone()
-
Creates a copy of the object.
Returns:
a shallow copy of this object.
-
isLocked()
-
Returns
true
if the object is locked.- Implements:
Returns:
true
if the object is locked. -
lock()
-
Locks the object.
- Implements:
-
notifyFinished()
-
Notify when the process is finished.
-
notifyStarted()
-
Notify when the process is started.
-
run()
-
Run the command.
- Inherited From:
- Implements:
-
unlock()
-
Unlocks the object.
- Implements: