public class IvyEvent
extends java.lang.Object
Modifier | Constructor and Description |
---|---|
protected |
IvyEvent(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
protected void |
addAttribute(java.lang.String key,
java.lang.String value)
Should only be called during event object construction, since events should be immutable
|
protected void |
addAttributes(java.util.Map attributes) |
protected void |
addConfsAttribute(java.lang.String[] confs) |
protected void |
addMDAttributes(ModuleDescriptor md) |
protected void |
addModuleIdAttributes(ModuleId moduleId) |
protected void |
addMridAttributes(ModuleRevisionId mrid) |
boolean |
equals(java.lang.Object obj) |
java.util.Map |
getAttributes()
Returns the attributes of this event, as a Map(String->String)
|
java.lang.String |
getName() |
EventManager |
getSource() |
int |
hashCode() |
java.lang.String |
toString() |
protected void addAttribute(java.lang.String key, java.lang.String value)
key
- value
- protected void addMDAttributes(ModuleDescriptor md)
protected void addMridAttributes(ModuleRevisionId mrid)
protected void addModuleIdAttributes(ModuleId moduleId)
protected void addConfsAttribute(java.lang.String[] confs)
protected void addAttributes(java.util.Map attributes)
public EventManager getSource()
public java.lang.String getName()
public java.util.Map getAttributes()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object