| java.lang.Object |
| ↳ |
java.util.EventObject |
| |
↳ |
com.atlassian.stash.scm.event.ScmEvent |
Known Direct Subclasses
|
Class Overview
Common base for all events raised by SCM implementations.
Summary
|
[Expand]
Inherited Fields |
From class
java.util.EventObject
|
| Public Constructors |
|
|
ScmEvent(Object source, Scm scm)
Constructs a new ScmEvent, initialising the event's source and setting the Scm from which
the event is being raised.
|
| Public Methods |
|
@Nonnull
Scm
|
getScm()
Retrieves the Scm raising the event.
|
|
[Expand]
Inherited Methods |
From class
java.util.EventObject
|
Object
|
getSource()
|
|
String
|
toString()
|
|
From class
java.lang.Object
|
Object
|
clone()
|
|
boolean
|
equals(Object arg0)
|
|
void
|
finalize()
|
|
final
Class<?>
|
getClass()
|
|
int
|
hashCode()
|
|
final
void
|
notify()
|
|
final
void
|
notifyAll()
|
|
String
|
toString()
|
|
final
void
|
wait()
|
|
final
void
|
wait(long arg0, int arg1)
|
|
final
void
|
wait(long arg0)
|
|
Public Constructors
public
ScmEvent
(Object source, Scm scm)
Constructs a new ScmEvent, initialising the event's source and setting the Scm from which
the event is being raised.
Parameters
| source
| the component within the SCM raising the event |
| scm
| the SCM raising the event |
Throws
| NullPointerException
| if source or scm is null
|
Public Methods
@Nonnull
public
Scm
getScm
()
Retrieves the Scm raising the event.
Note: This may not match the
getSource() value, which could be a component within the SCM rather than
the
Scm itself.