Package org.intermine.api.idresolution
Class UpgradeJob
- java.lang.Object
-
- org.intermine.api.idresolution.UpgradeJob
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.intermine.api.idresolution.Job
Job.JobStatus
-
-
Constructor Summary
Constructors Constructor Description UpgradeJob(java.util.UUID id, BagQueryUpgrade upgrade)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ExceptiongetError()BagQueryResultgetResult()java.util.DategetStartedAt()Job.JobStatusgetStatus()java.lang.StringgetType()java.lang.StringgetUid()voidrun()run jobbooleanwasSuccessful()
-
-
-
Constructor Detail
-
UpgradeJob
public UpgradeJob(java.util.UUID id, BagQueryUpgrade upgrade)- Parameters:
id- uuidupgrade- upgrade
-
-
Method Detail
-
run
public void run()
Description copied from interface:Jobrun job
-
getResult
public BagQueryResult getResult()
-
wasSuccessful
public boolean wasSuccessful()
- Specified by:
wasSuccessfulin interfaceJob- Returns:
- true if successful
-
getError
public java.lang.Exception getError()
-
getStatus
public Job.JobStatus getStatus()
-
getStartedAt
public java.util.Date getStartedAt()
- Specified by:
getStartedAtin interfaceJob- Returns:
- date started at
-
-