public class Job extends DestroyableBase implements Runnable
A Job is a piece of logic that can be run/scheduled in ActFramework
Destroyable.UtilDASHED_LINE, DOUBLE_DASHED_LINE, HASH_SYMBOL_LINE, logger, STAR_LINE, TILD_LINE| Modifier and Type | Method and Description |
|---|---|
protected void |
_before() |
protected void |
_finally() |
protected String |
brief() |
protected void |
cancel() |
protected void |
doJob() |
String |
getId() |
int |
getProgressInPercent() |
boolean |
isExecuted() |
boolean |
isOneTime() |
protected JobManager |
manager() |
SimpleProgressGauge |
progress() |
protected void |
releaseResources() |
void |
run() |
protected void |
scheduleNextInvocation() |
void |
setProgressGauge(ProgressGauge progressGauge) |
String |
toString() |
JobTrigger |
trigger() |
addSubResource, destroy, isDestroyed, reload, scopedebug, debug, error, error, fatal, fatal, info, info, isDebugEnabled, isTraceEnabled, printCenter, printCenterWithLead, printDashedLine, printDoubleDashedLine, printHashSimbolLine, println, printStarLine, printTildLine, trace, trace, warn, warnpublic void setProgressGauge(ProgressGauge progressGauge)
public SimpleProgressGauge progress()
public int getProgressInPercent()
protected void releaseResources()
releaseResources in class DestroyableBaseprotected String brief()
protected void _before()
protected void doJob()
protected void _finally()
protected void cancel()
protected final JobManager manager()
protected void scheduleNextInvocation()
public String getId()
public boolean isExecuted()
public boolean isOneTime()
public JobTrigger trigger()
Copyright © 2014–2018 ActFramework. All rights reserved.