Package com.xwiki.task.macro
Class TaskMacroParameters
java.lang.Object
com.xwiki.task.macro.TaskMacroParameters
- Since:
- 3.0
- Version:
- $Id$
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumWe define the values for the isDisplayed property as an enum in order to be able to detect when the property is not set. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetClassName(String className) voidsetCompleteDate(String completeDate) voidsetCreateDate(String createDate) voidsetIdDisplayed(TaskMacroParameters.IdDisplay idDisplayed) voidsetReference(String reference) voidsetReporter(String reporter) void
-
Constructor Details
-
TaskMacroParameters
public TaskMacroParameters()
-
-
Method Details
-
getReference
- Returns:
- the id of the task.
-
setReference
- Parameters:
reference- the id of the task.
-
getReporter
- Returns:
- the creator of the task.
-
setReporter
- Parameters:
reporter- the creator of the task.
-
getCreateDate
- Returns:
- the creation date of the task.
-
setCreateDate
- Parameters:
createDate- the creation date of the task.
-
getStatus
- Returns:
- the status of the task.
-
setStatus
- Parameters:
status- the status of the task.
-
getCompleteDate
- Returns:
- the date when the task has been completed.
-
setCompleteDate
- Parameters:
completeDate- the date when the task has been completed.
-
isIdDisplayed
- Returns:
- whether the id and the link to the task page should be displayed.
- Since:
- 3.8.0
-
setIdDisplayed
- Parameters:
idDisplayed- seeisIdDisplayed().- Since:
- 3.8.0
-
getClassName
- Returns:
- the name of the class that should identify this macro.
- Since:
- 3.8.0
-
setClassName
- Parameters:
className- seegetClassName().- Since:
- 3.8.0
-