com.atlassian.jira.upgrade.tasks.jql
Class ClauseXmlHandler.BestGuessConversionResult

java.lang.Object
  extended by com.atlassian.jira.upgrade.tasks.jql.ClauseXmlHandler.BestGuessConversionResult
All Implemented Interfaces:
ClauseXmlHandler.ConversionResult
Enclosing interface:
ClauseXmlHandler

public static class ClauseXmlHandler.BestGuessConversionResult
extends java.lang.Object
implements ClauseXmlHandler.ConversionResult


Constructor Summary
ClauseXmlHandler.BestGuessConversionResult(Clause clause, java.lang.String oldXmlFieldName, java.lang.String convertedClauseName)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 Clause getClause()
           
 java.lang.String getMessage(I18nHelper i18nHelper, java.lang.String savedFilterName)
           
 ClauseXmlHandler.ConversionResultType getResultType()
           
 int hashCode()
           
 void setFieldManager(FieldManager fieldManager)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClauseXmlHandler.BestGuessConversionResult

public ClauseXmlHandler.BestGuessConversionResult(Clause clause,
                                                  java.lang.String oldXmlFieldName,
                                                  java.lang.String convertedClauseName)
Method Detail

getClause

public Clause getClause()
Specified by:
getClause in interface ClauseXmlHandler.ConversionResult
Returns:
the clause generated from conversion or null if there was an error.

getResultType

public ClauseXmlHandler.ConversionResultType getResultType()
Specified by:
getResultType in interface ClauseXmlHandler.ConversionResult
Returns:
on of the ClauseXmlHandler.ConversionResultType's.

getMessage

public java.lang.String getMessage(I18nHelper i18nHelper,
                                   java.lang.String savedFilterName)
Specified by:
getMessage in interface ClauseXmlHandler.ConversionResult
Parameters:
i18nHelper - used to i18n the message
savedFilterName - the name of the filter this result was generated for.
Returns:
a message explaining what happened as a result of the conversion.

setFieldManager

public void setFieldManager(FieldManager fieldManager)

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.