Class ActionDTO
java.lang.Object
org.wso2.am.integration.clients.governance.api.dto.ActionDTO
Action to be taken when a governance policy is violated.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe severity of the rule to which the action is linked to.static enumThe state of the artifact to which the action is linked to.static enumThe type of action to be taken when a governance policy is violated in the given state withe given rule severity. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanThe severity of the rule to which the action is linked to.getState()The state of the artifact to which the action is linked to.getType()The type of action to be taken when a governance policy is violated in the given state withe given rule severity.inthashCode()ruleSeverity(ActionDTO.RuleSeverityEnum ruleSeverity) voidsetRuleSeverity(ActionDTO.RuleSeverityEnum ruleSeverity) voidsetState(ActionDTO.StateEnum state) voidsetType(ActionDTO.TypeEnum type) state(ActionDTO.StateEnum state) toString()type(ActionDTO.TypeEnum type)
-
Field Details
-
SERIALIZED_NAME_STATE
- See Also:
-
SERIALIZED_NAME_RULE_SEVERITY
- See Also:
-
SERIALIZED_NAME_TYPE
- See Also:
-
-
Constructor Details
-
ActionDTO
public ActionDTO()
-
-
Method Details
-
state
-
getState
The state of the artifact to which the action is linked to.- Returns:
- state
-
setState
-
ruleSeverity
-
getRuleSeverity
The severity of the rule to which the action is linked to.- Returns:
- ruleSeverity
-
setRuleSeverity
-
type
-
getType
The type of action to be taken when a governance policy is violated in the given state withe given rule severity.- Returns:
- type
-
setType
-
equals
-
hashCode
public int hashCode() -
toString
-