|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.jql.context.ValidatingDecoratorContextFactory
public final class ValidatingDecoratorContextFactory
A ClauseContextFactory
that wraps another ClauseContextFactory to ensure
that the getClauseContext(com.opensymphony.user.User, com.atlassian.query.clause.TerminalClause)
method
on the wrapped object is only called when this passed TerminalClause passes usage validation.
Constructor Summary | |
---|---|
ValidatingDecoratorContextFactory(OperatorUsageValidator usageValidator,
ClauseContextFactory delegatingContextFactory)
|
Method Summary | |
---|---|
ClauseContext |
getClauseContext(com.opensymphony.user.User searcher,
TerminalClause terminalClause)
Generates a clause context for the associated handler. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ValidatingDecoratorContextFactory(OperatorUsageValidator usageValidator, ClauseContextFactory delegatingContextFactory)
Method Detail |
---|
public ClauseContext getClauseContext(com.opensymphony.user.User searcher, TerminalClause terminalClause)
ClauseContextFactory
getClauseContext
in interface ClauseContextFactory
searcher
- the user who is performing the searchterminalClause
- the clause for which this factory is generating a context.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |