com.atlassian.jira.action.admin.export
Class AnonymousEntity
java.lang.Object
com.atlassian.jira.action.admin.export.AnonymousEntity
public final class AnonymousEntity
- extends Object
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.
AnonymousEntity
public AnonymousEntity(String entityName,
String fieldName)
- Parameters:
entityName
- fieldName
-
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
Copyright © 2002-2012 Atlassian. All Rights Reserved.