Package org.ametys.odf.schedulable
Class GlobalValidationReport
- java.lang.Object
-
- org.ametys.runtime.plugin.component.AbstractLogEnabled
-
- org.ametys.odf.schedulable.GlobalValidationReport
-
- All Implemented Interfaces:
LogEnabled
,Component
,Serviceable
public class GlobalValidationReport extends AbstractLogEnabled implements Component, Serviceable
The component for scheduling a global validation report on programs
-
-
Constructor Summary
Constructors Constructor Description GlobalValidationReport()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Map<String,Object>>
getInvalidatedContents(String contentId)
Get the list of invalidated contents computed by the last report for a given contentboolean
isRunning()
Determines if the scheduler is currently runningvoid
service(ServiceManager smanager)
Map<String,Object>
startReport()
Start the global validation report on programs-
Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
-
-
-
Constructor Detail
-
GlobalValidationReport
public GlobalValidationReport()
-
-
Method Detail
-
service
public void service(ServiceManager smanager) throws ServiceException
- Specified by:
service
in interfaceServiceable
- Throws:
ServiceException
-
isRunning
public boolean isRunning()
Determines if the scheduler is currently running- Returns:
- true if a check is already running
-
startReport
public Map<String,Object> startReport()
Start the global validation report on programs- Returns:
- the result
-
-