diff --git a/components/action-mgt/org.wso2.carbon.identity.action.execution/src/main/java/org/wso2/carbon/identity/action/execution/model/ActionType.java b/components/action-mgt/org.wso2.carbon.identity.action.execution/src/main/java/org/wso2/carbon/identity/action/execution/model/ActionType.java index a398409714b0..c9407762395a 100644 --- a/components/action-mgt/org.wso2.carbon.identity.action.execution/src/main/java/org/wso2/carbon/identity/action/execution/model/ActionType.java +++ b/components/action-mgt/org.wso2.carbon.identity.action.execution/src/main/java/org/wso2/carbon/identity/action/execution/model/ActionType.java @@ -18,11 +18,18 @@ package org.wso2.carbon.identity.action.execution.model; +import org.wso2.carbon.identity.action.management.model.Action; + /** * This class models the Action Type. * Action Type is the type of the action that is executed by the Action Executor Service. */ public enum ActionType { PRE_ISSUE_ACCESS_TOKEN, - AUTHENTICATION + AUTHENTICATION; + + public String getDisplayName() { + + return Action.ActionTypes.valueOf(this.name()).getDisplayName(); + } }