Class TaskStatusColumnHeader
- java.lang.Object
-
- pro.taskana.monitor.api.reports.header.TaskStatusColumnHeader
-
- All Implemented Interfaces:
ColumnHeader<TaskQueryItem>
public class TaskStatusColumnHeader extends Object implements ColumnHeader<TaskQueryItem>
The TaskStatusColumnHeader represents a column for each TaskState.
-
-
Constructor Summary
Constructors Constructor Description TaskStatusColumnHeader(TaskState state)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanfits(TaskQueryItem item)Determines if a specific item is meant part of this column.StringgetDisplayName()The display name is the string representation of this column.StringtoString()
-
-
-
Constructor Detail
-
TaskStatusColumnHeader
public TaskStatusColumnHeader(TaskState state)
-
-
Method Detail
-
getDisplayName
public String getDisplayName()
Description copied from interface:ColumnHeaderThe display name is the string representation of this column. Used to give this column a name during presentation.- Specified by:
getDisplayNamein interfaceColumnHeader<TaskQueryItem>- Returns:
- String representation of this column.
-
fits
public boolean fits(TaskQueryItem item)
Description copied from interface:ColumnHeaderDetermines if a specific item is meant part of this column.- Specified by:
fitsin interfaceColumnHeader<TaskQueryItem>- Parameters:
item- the given item to check.- Returns:
- True, if the item is supposed to be part of this column. Otherwise false.
-
-