Known Direct Subclasses
|
Known Indirect Subclasses
|
Class Overview
Abstract superclass for Data Center Migration events.
Summary
Fields |
protected
final
Job |
job |
|
[Expand]
Inherited Fields |
From class
java.util.EventObject
|
[Expand]
Inherited Methods |
From class
com.atlassian.bitbucket.event.ApplicationEvent
|
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(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
Fields
Protected Constructors
protected
AbstractInstanceMigrationEvent
(Object source, Job job)
Public Methods
public
long
getDuration
()
Returns
- Processing duration of the job since completion if
isTerminated()
returns true
otherwise time elapsed since the job started
public
long
getJobId
()
Returns
- return the
Job
that this event refers to