com.atlassian.jira.upgrade.tasks.jql
Class MultiValueParameterClauseXmlHandler
java.lang.Object
com.atlassian.jira.upgrade.tasks.jql.AbstractSimpleClauseXmlHandler
com.atlassian.jira.upgrade.tasks.jql.MultiValueParameterClauseXmlHandler
- All Implemented Interfaces:
- ClauseXmlHandler
public class MultiValueParameterClauseXmlHandler
- extends AbstractSimpleClauseXmlHandler
- implements ClauseXmlHandler
Generates a TerminalClause
that represents an Multivalue parameter and some values.
- Since:
- v4.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MultiValueParameterClauseXmlHandler
public MultiValueParameterClauseXmlHandler(FieldFlagOperandRegistry fieldFlagOperandRegistry,
CustomFieldManager customFieldManager)
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.
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.
xmlFieldIdSupported
protected boolean xmlFieldIdSupported(String xmlFieldId)
- Specified by:
xmlFieldIdSupported
in class AbstractSimpleClauseXmlHandler
Copyright © 2002-2012 Atlassian. All Rights Reserved.