com.atlassian.jira.jql.context
Class MultiClauseDecoratorContextFactory.Factory
java.lang.Object
com.atlassian.jira.jql.context.MultiClauseDecoratorContextFactory.Factory
- Enclosing class:
- MultiClauseDecoratorContextFactory
public static class MultiClauseDecoratorContextFactory.Factory
- extends Object
Factory to create a MultiClauseDecoratorContextFactory
given a
ClauseContextFactory
to wrap.
- Since:
- 4.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MultiClauseDecoratorContextFactory.Factory
public MultiClauseDecoratorContextFactory.Factory(OperatorUsageValidator validator,
JqlOperandResolver resolver,
ContextSetUtil contextSetUtil)
create
@Nonnull
public ClauseContextFactory create(@Nonnull
ClauseContextFactory delegate)
- Same as calling
create(delegate, true)
.
- Parameters:
delegate
- the ClauseContextFactory to wrap.
- Returns:
- the wrapped clause context factory.
create
@Nonnull
public ClauseContextFactory create(@Nonnull
ClauseContextFactory delegate,
boolean validating)
- Wrap the passed
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.
- Parameters:
delegate
- the factory to wrap. Cannot be null.validating
- true if the returned factory should perform a validation step, or false otherwise.
- Returns:
- the wrapped clause context factory.
Copyright © 2002-2013 Atlassian. All Rights Reserved.