com.atlassian.jira.upgrade.tasks.jql
Class AffectedVersionClauseXmlHandler

java.lang.Object
  extended by com.atlassian.jira.upgrade.tasks.jql.AbstractSimpleClauseXmlHandler
      extended by com.atlassian.jira.upgrade.tasks.jql.AffectedVersionClauseXmlHandler
All Implemented Interfaces:
ClauseXmlHandler

public class AffectedVersionClauseXmlHandler
extends AbstractSimpleClauseXmlHandler
implements ClauseXmlHandler

Generates a TerminalClause that represents an affected version and some values provided the "old-style" affected version parameter XML.

Since:
v4.0

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.atlassian.jira.upgrade.tasks.jql.ClauseXmlHandler
ClauseXmlHandler.BestGuessConversionResult, ClauseXmlHandler.ConversionResult, ClauseXmlHandler.ConversionResultType, ClauseXmlHandler.FailedConversionNoValuesResult, ClauseXmlHandler.FailedConversionResult, ClauseXmlHandler.FullConversionResult, ClauseXmlHandler.NoOpConversionResult
 
Constructor Summary
AffectedVersionClauseXmlHandler(FieldFlagOperandRegistry fieldFlagOperandRegistry)
           
 
Method Summary
 boolean isSafeToNamifyValue()
          Some search parameters have values which when running through "namification" could lose precision or change the original meaning of the value.
protected  boolean xmlFieldIdSupported(java.lang.String xmlFieldId)
           
 
Methods inherited from class com.atlassian.jira.upgrade.tasks.jql.AbstractSimpleClauseXmlHandler
convertXmlToClause, convertXmlToClause
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.jira.upgrade.tasks.jql.ClauseXmlHandler
convertXmlToClause
 

Constructor Detail

AffectedVersionClauseXmlHandler

public AffectedVersionClauseXmlHandler(FieldFlagOperandRegistry fieldFlagOperandRegistry)
Method Detail

xmlFieldIdSupported

protected boolean xmlFieldIdSupported(java.lang.String xmlFieldId)
Specified by:
xmlFieldIdSupported in class AbstractSimpleClauseXmlHandler

isSafeToNamifyValue

public boolean isSafeToNamifyValue()
Description copied from interface: ClauseXmlHandler
Some search parameters have values which when running through "namification" could lose precision or change the original meaning of the value. This flag indicates whether it is safe for the upgrade task to namify the values.

Specified by:
isSafeToNamifyValue in interface ClauseXmlHandler
Overrides:
isSafeToNamifyValue in class AbstractSimpleClauseXmlHandler
Returns:
true if is safe to namify values produced by this handler; false otherwise.


Copyright © 2002-2010 Atlassian. All Rights Reserved.