public final class

AnonymousEntity

extends Object
java.lang.Object
   ↳ com.atlassian.jira.action.admin.export.AnonymousEntity

Class Overview

An AnonymousEntity represents which fields to be anonymised, and is used by the AnonymisingEntityXmlWriter and the AnonymousGenericValue.

It contains an 'entityName', representing the GenericValue's entity name (eg: 'Issue'), and a fieldName, representing a GenericValue's fieldName (eg: 'description', or 'id').

If either of these are null, it represents a match against all of the fields / entities.

NOTE: Due to the way that AnonymousEntity handles 'equals', it is impossible to determine a good hashCode. There will therefore be performance issues if you use this class as the key in a HashMap or HashSet.

Summary

Public Constructors
AnonymousEntity(String entityName, String fieldName)
Public Methods
boolean equals(Object o)
int hashCode()
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public AnonymousEntity (String entityName, String fieldName)

Public Methods

public boolean equals (Object o)

public int hashCode ()