Class RulesetInputDTO
java.lang.Object
org.wso2.am.integration.clients.governance.api.dto.RulesetInputDTO
Detailed information about a ruleset.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe type of artifact that the ruleset validates.static enumCategory the rules included in ruleset.static enumContext or area to which the ruleset applies. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionartifactType(RulesetInputDTO.ArtifactTypeEnum artifactType) description(String description) documentationLink(String documentationLink) booleanThe type of artifact that the ruleset validates.A brief description of the ruleset.URL to the documentation related to the ruleset.getName()Name of the ruleset.Entity or individual providing the ruleset.Category the rules included in ruleset.The content of the ruleset file (YAML or JSON).Context or area to which the ruleset applies.inthashCode()ruleCategory(RulesetInputDTO.RuleCategoryEnum ruleCategory) rulesetContent(File rulesetContent) ruleType(RulesetInputDTO.RuleTypeEnum ruleType) voidsetArtifactType(RulesetInputDTO.ArtifactTypeEnum artifactType) voidsetDescription(String description) voidsetDocumentationLink(String documentationLink) voidvoidsetProvider(String provider) voidsetRuleCategory(RulesetInputDTO.RuleCategoryEnum ruleCategory) voidsetRulesetContent(File rulesetContent) voidsetRuleType(RulesetInputDTO.RuleTypeEnum ruleType) toString()
-
Field Details
-
SERIALIZED_NAME_NAME
- See Also:
-
SERIALIZED_NAME_DESCRIPTION
- See Also:
-
SERIALIZED_NAME_RULESET_CONTENT
- See Also:
-
SERIALIZED_NAME_RULE_CATEGORY
- See Also:
-
SERIALIZED_NAME_RULE_TYPE
- See Also:
-
SERIALIZED_NAME_ARTIFACT_TYPE
- See Also:
-
SERIALIZED_NAME_DOCUMENTATION_LINK
- See Also:
-
SERIALIZED_NAME_PROVIDER
- See Also:
-
-
Constructor Details
-
RulesetInputDTO
public RulesetInputDTO()
-
-
Method Details
-
name
-
getName
Name of the ruleset.- Returns:
- name
-
setName
-
description
-
getDescription
A brief description of the ruleset.- Returns:
- description
-
setDescription
-
rulesetContent
-
getRulesetContent
The content of the ruleset file (YAML or JSON).- Returns:
- rulesetContent
-
setRulesetContent
-
ruleCategory
-
getRuleCategory
Category the rules included in ruleset.- Returns:
- ruleCategory
-
setRuleCategory
-
ruleType
-
getRuleType
Context or area to which the ruleset applies.- Returns:
- ruleType
-
setRuleType
-
artifactType
-
getArtifactType
The type of artifact that the ruleset validates.- Returns:
- artifactType
-
setArtifactType
-
documentationLink
-
getDocumentationLink
URL to the documentation related to the ruleset.- Returns:
- documentationLink
-
setDocumentationLink
-
provider
-
getProvider
Entity or individual providing the ruleset.- Returns:
- provider
-
setProvider
-
equals
-
hashCode
public int hashCode() -
toString
-