Class EndArtifactPublishEvent
java.lang.Object
org.apache.ivy.core.event.IvyEvent
org.apache.ivy.core.event.publish.PublishEvent
org.apache.ivy.core.event.publish.EndArtifactPublishEvent
Event fired after artifact publication has finished (possibly in error). Triggers registered on
NAME
will be notified of these events.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionEndArtifactPublishEvent
(DependencyResolver resolver, Artifact artifact, File data, boolean overwrite, boolean successful) -
Method Summary
Methods inherited from class org.apache.ivy.core.event.publish.PublishEvent
getArtifact, getData, getResolver, isOverwrite
Methods inherited from class org.apache.ivy.core.event.IvyEvent
addAttribute, addAttributes, addConfsAttribute, addMDAttributes, addModuleIdAttributes, addMridAttributes, equals, getAttributes, getName, getSource, hashCode, toString
-
Field Details
-
NAME
- See Also:
-
STATUS_SUCCESSFUL
- See Also:
-
STATUS_FAILED
- See Also:
-
-
Constructor Details
-
EndArtifactPublishEvent
public EndArtifactPublishEvent(DependencyResolver resolver, Artifact artifact, File data, boolean overwrite, boolean successful)
-
-
Method Details
-
isSuccessful
public boolean isSuccessful()- Returns:
- true iff no errors were encountered during the publication
-