public abstract class AbstractInstanceMigrationEvent extends ApplicationEvent
| Modifier and Type | Field and Description | 
|---|---|
protected Job | 
job  | 
source| Modifier | Constructor and Description | 
|---|---|
protected  | 
AbstractInstanceMigrationEvent(Object source,
                              Job job)  | 
| Modifier and Type | Method and Description | 
|---|---|
long | 
getDuration()  | 
long | 
getJobId()  | 
getDate, getUsergetSource, toStringprotected final Job job
public long getDuration()
JobState.isTerminated() returns true
         otherwise time elapsed since the job startedpublic long getJobId()
Job that this event refers toCopyright © 2019 Atlassian. All rights reserved.