public static class MultiClauseDecoratorContextFactory.Factory extends Object
MultiClauseDecoratorContextFactory
given a
ClauseContextFactory
to wrap.Constructor and Description |
---|
Factory(OperatorUsageValidator validator,
JqlOperandResolver resolver,
ContextSetUtil contextSetUtil) |
Modifier and Type | Method and Description |
---|---|
ClauseContextFactory |
create(ClauseContextFactory delegate)
Same as calling
create(delegate, true) . |
ClauseContextFactory |
create(ClauseContextFactory delegate,
boolean validating)
Wrap the passed
ClauseContextFactory in a MultiClauseDecoratorContextFactory . |
public Factory(OperatorUsageValidator validator, JqlOperandResolver resolver, ContextSetUtil contextSetUtil)
@Nonnull public ClauseContextFactory create(@Nonnull ClauseContextFactory delegate)
create(delegate, true)
.delegate
- the ClauseContextFactory to wrap.@Nonnull public ClauseContextFactory create(@Nonnull 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.Copyright © 2002-2024 Atlassian. All Rights Reserved.