StopAntAction Class
- public class StopAntAction
extends DefaultAction
Put the target key to stop in the ActionEvent's source param. The type
and command string are not used, so they can be anything.
If a StopAntAction needs to be defined before the Ant target is started,
instantiate a StopAntAction with a target key provided by the AntSvc.
Here's an example:
String key = AntSvc.get().getTargetKey(antProject, targetName);
StopAntAction stopAction = new StopAntAction(key);
-
Hierarchy
-
Object
DefaultAction
StopAntAction
-
All Implemented Interfaces
-
ActionListener
, EventListener
, IAction
, PropertyChangeListener
Methods from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StopAntAction
public StopAntAction()
StopAntAction
public StopAntAction(AntSvc.AntTargetKey
key)
- If a StopAntAction needs to be defined before the Ant target is started,
instantiate a StopAntAction with a target key provided by the AntSvc.
Here's an example:
String key = AntSvc.get().getTargetKey(antProject, targetName);
StopAntAction stopAction = new StopAntAction(key);
actionPerformed(ActionEvent) Method
public void actionPerformed(ActionEvent
e)
Put the target key to stop in the ActionEvent's source param. The type
and command string are not used, so they can be anything.
Parameters
-
e
- AWT action event associated with this invocation.