public interface Batch
| Modifier and Type | Method and Description |
|---|---|
void |
execute(Map<String,Object> parameters)
The main execution method.
|
String |
getBatchId()
Id a the batch (used to register the job in Quartz scheduler).
|
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
|
void |
setBatchId(String batchId)
Id a the batch (used to register the job in Quartz scheduler).
|
String getBatchId()
void setBatchId(String batchId)
batchId - the identifier of the batchString getJobScheduling()
void execute(Map<String,Object> parameters) throws PortalException
PortalExceptionboolean isRunningOnMasterOnly()
Copyright © 2020. All rights reserved.