Package org.ametys.cms.workflow.history
Class WorkflowAction
java.lang.Object
org.ametys.cms.workflow.history.WorkflowAction
Object representing a workflow action
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetId()Get the id of the actiongetLabel()Get the label of the actionGet the large icon of the actionGet the medium icon of the actionGet the small icon of the actionvoidsetLabel(I18nizableText label) Set the label of the actionvoidsetLargeIcon(String largeIcon) Set the large icon of the actionvoidsetMediumIcon(String mediumIcon) Set the medium icon of the actionvoidsetSmallIcon(String smallIcon) Set the small icon of the action
-
Constructor Details
-
WorkflowAction
The constructor for a workflow action- Parameters:
id- the id of the action
-
-
Method Details
-
getId
Get the id of the action- Returns:
- the id of the action
-
getLabel
Get the label of the action- Returns:
- the label of the action
-
setLabel
Set the label of the action- Parameters:
label- the label
-
getSmallIcon
Get the small icon of the action- Returns:
- the small icon of the action
-
setSmallIcon
Set the small icon of the action- Parameters:
smallIcon- the small icon of the action. Can be null.
-
getMediumIcon
Get the medium icon of the action- Returns:
- the medium icon of the action
-
setMediumIcon
Set the medium icon of the action- Parameters:
mediumIcon- the medium icon of the action. Can be null.
-
getLargeIcon
Get the large icon of the action- Returns:
- the large icon of the action
-
setLargeIcon
Set the large icon of the action- Parameters:
largeIcon- the large icon of the action. Can be null.
-