|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.upgrade.tasks.jql.AbstractSimpleClauseXmlHandler com.atlassian.jira.upgrade.tasks.jql.ConstantsClauseXmlHandler
public class ConstantsClauseXmlHandler
Handles the IssueConstants old SearchParameters and is able to convert them to the equivalent JQL clauses. This actually can handle ANY valid document constant since that is the way the old SearchParameter was coded, so in case any plugin developers were using this Parameter type in a non-standard way we need to handle document constants past what we used within JIRA. See the old isValid method on the Parameters. Handles: - com.atlassian.jira.issue.search.parameters.lucene.PriorityParameter - com.atlassian.jira.issue.search.parameters.lucene.ResolutionParameter - com.atlassian.jira.issue.search.parameters.lucene.StatusParameter - com.atlassian.jira.issue.search.parameters.lucene.IssueConstantsParameter
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 | |
---|---|
ConstantsClauseXmlHandler(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 |
---|
public ConstantsClauseXmlHandler(FieldFlagOperandRegistry fieldFlagOperandRegistry)
Method Detail |
---|
protected boolean xmlFieldIdSupported(java.lang.String xmlFieldId)
xmlFieldIdSupported
in class AbstractSimpleClauseXmlHandler
public boolean isSafeToNamifyValue()
ClauseXmlHandler
isSafeToNamifyValue
in interface ClauseXmlHandler
isSafeToNamifyValue
in class AbstractSimpleClauseXmlHandler
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |