|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecthudson.model.UpdateCenter.UpdateCenterJob
@ExportedBean public abstract class UpdateCenter.UpdateCenterJob
Things that UpdateCenter.installerService
executes.
This object will have the row.jelly which renders the job on UI.
Field Summary | |
---|---|
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? |
Constructor Summary | |
---|---|
protected |
UpdateCenter.UpdateCenterJob(UpdateSite site)
|
Method Summary | |
---|---|
Api |
getApi()
|
Throwable |
getError()
|
String |
getErrorMessage()
|
String |
getType()
|
void |
schedule()
Deprecated. as of 1.326 Use submit() instead. |
Future<UpdateCenter.UpdateCenterJob> |
submit()
Schedules this job for an execution |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.lang.Runnable |
---|
run |
Field Detail |
---|
@Exported public final int id
UpdateCenter.getJob(int)
public final UpdateSite site
UpdateSite
does this belong to?
protected Throwable error
Constructor Detail |
---|
protected UpdateCenter.UpdateCenterJob(UpdateSite site)
Method Detail |
---|
public Api getApi()
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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |