Package com.xwiki.task.script
Class TaskScriptService
- java.lang.Object
-
- com.xwiki.task.script.TaskScriptService
-
- All Implemented Interfaces:
org.xwiki.script.service.ScriptService
@Component @Named("task") @Singleton @Unstable public class TaskScriptService extends Object implements org.xwiki.script.service.ScriptServiceScript service for retrieving information about the Task Manager Application.- Since:
- 3.0
- Version:
- $Id$
-
-
Constructor Summary
Constructors Constructor Description TaskScriptService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TaskConfigurationgetConfiguration()List<org.xwiki.model.reference.DocumentReference>getPagesWithIncompleteTaskMacros()org.xwiki.job.JobinferTaskData()voidinferTaskData(org.xwiki.model.reference.DocumentReference documentReference)Infer data for the tasks of some document.
-
-
-
Method Detail
-
getConfiguration
public TaskConfiguration getConfiguration()
- Returns:
- the configuration of the application.
-
inferTaskData
public org.xwiki.job.Job inferTaskData()
- Returns:
- a job created as a result of
TaskDataInferringJobRequest.
-
inferTaskData
public void inferTaskData(org.xwiki.model.reference.DocumentReference documentReference)
Infer data for the tasks of some document.- Parameters:
documentReference- the document reference of the document.
-
getPagesWithIncompleteTaskMacros
public List<org.xwiki.model.reference.DocumentReference> getPagesWithIncompleteTaskMacros()
- Returns:
- a list pages that contain task macros with incomplete data.
-
-