Class AffectedEntity

java.lang.Object
com.atlassian.jira.user.anonymize.AffectedEntity

public class AffectedEntity extends Object
Represents an entity affected by a user property change or anonymization to be shown in the UI.
Since:
8.3
  • Method Details

    • getType

      @Nonnull public AffectedEntityType getType()
      Describes the way in which the entity will be updated.
    • getDescriptionKey

      @Nonnull public String getDescriptionKey()
      The i18n key used to display the name of the entity or the description of the operation.
    • getNumberOfOccurrences

      @Nonnull public Optional<Long> getNumberOfOccurrences()
      The number of entities that will be updated. Should be left empty if computing this number might take a long time.
    • getLink

      @Nonnull public Optional<AffectedEntityLink> getLink()
      A link allowing to find the affected data.
    • newBuilder

      public static AffectedEntity.Builder newBuilder(@Nonnull AffectedEntityType type)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object