Class AntCallTrigger
java.lang.Object
org.apache.ivy.plugins.trigger.AbstractTrigger
org.apache.ivy.ant.AntCallTrigger
- All Implemented Interfaces:
EventListener, IvyListener, Trigger
Triggers an call to an ant target on an event occurrence.
This trigger only works when ivy is called from an ant build file, otherwise the trigger only log a failure.
Example of use in an ivysettings file:
<ant-call-trigger event="post-download-artifact" filter="type=zip" target="unzip"/>Triggers a call to the target "unzip" for any downloaded artifact of type zip
- Since:
- 1.4
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class AbstractTrigger
getEvent, getEventFilter, getFilter, getMatcher, setEvent, setFilter, setMatcherMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Trigger
getEventFilter
-
Constructor Details
-
AntCallTrigger
public AntCallTrigger()
-
-
Method Details
-
progress
- Specified by:
progressin interfaceIvyListener
-
getTarget
-
setTarget
-
isOnlyonce
public boolean isOnlyonce() -
setOnlyonce
public void setOnlyonce(boolean onlyonce) -
getPrefix
-
setPrefix
-