|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.jql.context.MultiClauseDecoratorContextFactory.Factory
public static class MultiClauseDecoratorContextFactory.Factory
Factory to create a MultiClauseDecoratorContextFactory
given a
ClauseContextFactory
to wrap.
Constructor Summary | |
---|---|
MultiClauseDecoratorContextFactory.Factory(OperatorUsageValidator validator,
JqlOperandResolver resolver,
ContextSetUtil contextSetUtil)
|
Method Summary | |
---|---|
ClauseContextFactory |
create(ClauseContextFactory delegate)
Same as calling create(delegate, true) . |
ClauseContextFactory |
create(ClauseContextFactory delegate,
boolean validating)
Wrap the passed ClauseContextFactory in a MultiClauseDecoratorContextFactory . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MultiClauseDecoratorContextFactory.Factory(OperatorUsageValidator validator, JqlOperandResolver resolver, ContextSetUtil contextSetUtil)
Method Detail |
---|
@NotNull public ClauseContextFactory create(@NotNull ClauseContextFactory delegate)
create(delegate, true)
.
delegate
- the ClauseContextFactory to wrap.
@NotNull public ClauseContextFactory create(@NotNull ClauseContextFactory delegate, boolean validating)
ClauseContextFactory
in a MultiClauseDecoratorContextFactory
.
When validating is set to true, the returned ClauseContextFactory will also perform a validation step on the passed clause when
generating the clause context.
delegate
- the factory to wrap. Cannot be null.validating
- true if the returned factory should perform a validation step, or false otherwise.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |