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

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

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

A way for a handler to "opt-out" of doing any conversion.


Constructor Summary
ClauseXmlHandler.NoOpConversionResult()
           
 
Method Summary
 Clause getClause()
           
 java.lang.String getMessage(I18nHelper i18nHelper, java.lang.String savedFilterName)
           
 ClauseXmlHandler.ConversionResultType getResultType()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClauseXmlHandler.NoOpConversionResult

public ClauseXmlHandler.NoOpConversionResult()
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.


Copyright © 2002-2010 Atlassian. All Rights Reserved.