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
The component for scheduling a global validation report on programs
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetInvalidatedContents
(String contentId) Get the list of invalidated contents computed by the last report for a given contentboolean
Determines if the scheduler is currently runningvoid
service
(ServiceManager smanager) Start the global validation report on programsMethods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
Field Details
-
ROLE
The Avalon role
-
-
Constructor Details
-
GlobalValidationReport
public GlobalValidationReport()
-
-
Method Details
-
service
- Specified by:
service
in interfaceServiceable
- Throws:
ServiceException
-
isRunning
Determines if the scheduler is currently running- Returns:
- true if a check is already running
-
startReport
Start the global validation report on programs- Returns:
- the result
-
getInvalidatedContents
Get the list of invalidated contents computed by the last report for a given content- Parameters:
contentId
- the content id- Returns:
- the list of invalidated contents
-