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

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

public class TextSystemFieldClauseXmlHandler
extends AbstractSimpleClauseXmlHandler
implements ClauseXmlHandler

Generates a ConversionResult that tries to convert the XML parameter used for storing the multi field parameter that stored the: - Description - Summary - Comment - Environment field data. It could also have been used for other purposes and therefore tries to be very forgiving, creating messages for when it makes a best guess.

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
TextSystemFieldClauseXmlHandler(FieldFlagOperandRegistry fieldFlagOperandRegistry)
           
 
Method Summary
 ClauseXmlHandler.ConversionResult convertXmlToClause(electric.xml.Element el)
          Produce a clause from the legacy, SearchParameter, XML storage format.
protected  boolean xmlFieldIdSupported(String xmlFieldId)
           
 
Methods inherited from class com.atlassian.jira.upgrade.tasks.jql.AbstractSimpleClauseXmlHandler
convertXmlToClause, isSafeToNamifyValue
 
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
isSafeToNamifyValue
 

Constructor Detail

TextSystemFieldClauseXmlHandler

public TextSystemFieldClauseXmlHandler(FieldFlagOperandRegistry fieldFlagOperandRegistry)
Method Detail

convertXmlToClause

public ClauseXmlHandler.ConversionResult convertXmlToClause(electric.xml.Element el)
Description copied from interface: ClauseXmlHandler
Produce a clause from the legacy, SearchParameter, XML storage format.

Specified by:
convertXmlToClause in interface ClauseXmlHandler
Overrides:
convertXmlToClause in class AbstractSimpleClauseXmlHandler
Parameters:
el - XML element
Returns:
a Clause that corresponds to the search that is described by the XML, must not be null.

xmlFieldIdSupported

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


Copyright © 2002-2012 Atlassian. All Rights Reserved.