com.atlassian.jira.action.admin.export
Class AnonymousEntity
java.lang.Object
com.atlassian.jira.action.admin.export.AnonymousEntity
public class AnonymousEntity
- extends java.lang.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.
Constructor Summary |
AnonymousEntity(java.lang.String entityName,
java.lang.String fieldName)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
AnonymousEntity
public AnonymousEntity(java.lang.String entityName,
java.lang.String fieldName)
- Parameters:
entityName
- fieldName
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
Copyright © 2002-2010 Atlassian. All Rights Reserved.