| Constructor and Description |
|---|
AbstractBatch() |
AbstractBatch(String batchId) |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
execute(Map<String,Object> parameters)
The main execution method.
|
String |
getBatchId() |
abstract String |
getJobScheduling()
Define the cron used to run the batch periodically
|
boolean |
isRunningOnMasterOnly()
Set true if this job should not run on all nodes of the cluster
|
public AbstractBatch()
public AbstractBatch(String batchId)
public String getBatchId()
public boolean isRunningOnMasterOnly()
BatchisRunningOnMasterOnly in interface Batchpublic abstract String getJobScheduling()
BatchgetJobScheduling in interface Batchpublic abstract void execute(Map<String,Object> parameters) throws PortalException
Batchexecute in interface BatchPortalExceptionCopyright © 2021. All rights reserved.