Class RuleViolation

  • All Implemented Interfaces:
    java.io.Serializable

    public final class RuleViolation
    extends java.lang.Object
    implements java.io.Serializable
    The Class RuleViolation.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      RuleViolation​(java.lang.String id, java.lang.String name, ResourceType resourceType, java.lang.String ruleName, java.lang.String ruleDescription, java.lang.String ruleGroup, Status status, java.lang.String positive)
      Instantiates a new rule violation.
    • Constructor Detail

      • RuleViolation

        public RuleViolation​(java.lang.String id,
                             java.lang.String name,
                             ResourceType resourceType,
                             java.lang.String ruleName,
                             java.lang.String ruleDescription,
                             java.lang.String ruleGroup,
                             Status status,
                             java.lang.String positive)
        Instantiates a new rule violation.
        Parameters:
        id - the id
        name - the name
        resourceType - the resource type
        ruleName - the rule name
        ruleDescription - the rule description
        ruleGroup - the rule group
        status - the status
        positive - the positive
    • Method Detail

      • getId

        public java.lang.String getId()
        Gets the id.
        Returns:
        the id
      • getName

        public java.lang.String getName()
        Gets the name.
        Returns:
        the name
      • getRuleName

        public java.lang.String getRuleName()
        Gets the rule name.
        Returns:
        the rule name
      • getRuleDescription

        public java.lang.String getRuleDescription()
        Gets the rule description.
        Returns:
        the rule description
      • getRuleGroup

        public java.lang.String getRuleGroup()
        Gets the rule group.
        Returns:
        the rule group
      • getStatus

        public Status getStatus()
        Gets the status.
        Returns:
        the status
      • getResourceType

        public ResourceType getResourceType()
        Gets the resource type.
        Returns:
        the resource type
      • getPositive

        public java.lang.String getPositive()
        Gets the positive.
        Returns:
        the positive
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object