@ExportedBean public abstract class UpdateCenter.UpdateCenterJob extends Object implements Runnable
UpdateCenter.installerService
executes.
This object will have the row.jelly
which renders the job on UI.Modifier and Type | Field and Description |
---|---|
protected Throwable |
error
If this job fails, set to the error.
|
int |
id
Unique ID that identifies this job.
|
UpdateSite |
site
Which
UpdateSite does this belong to? |
Modifier | Constructor and Description |
---|---|
protected |
UpdateCenterJob(UpdateSite site) |
Modifier and Type | Method and Description |
---|---|
Api |
getApi() |
UUID |
getCorrelationId() |
Throwable |
getError() |
String |
getErrorMessage() |
String |
getType() |
void |
schedule()
Deprecated.
as of 1.326
Use
submit() instead. |
void |
setCorrelationId(UUID correlationId) |
Future<UpdateCenter.UpdateCenterJob> |
submit()
Schedules this job for an execution
|
@Exported public final int id
UpdateCenter.getJob(int)
@CheckForNull public final UpdateSite site
UpdateSite
does this belong to?protected Throwable error
protected UpdateCenterJob(@CheckForNull UpdateSite site)
public Api getApi()
public UUID getCorrelationId()
public void setCorrelationId(UUID correlationId)
@Deprecated public void schedule()
submit()
instead.@Exported public String getType()
public Future<UpdateCenter.UpdateCenterJob> submit()
Future
to keeps track of the status of the execution.@Exported public String getErrorMessage()
public Throwable getError()
Copyright © 2004–2022. All rights reserved.