public abstract class AbstractIssueTypeFunction extends AbstractJqlFunction
| Modifier and Type | Field and Description |
|---|---|
protected SubTaskManager |
subTaskManager |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractIssueTypeFunction(SubTaskManager subTaskManager) |
| Modifier and Type | Method and Description |
|---|---|
JiraDataType |
getDataType()
Provides the
JiraDataType that this function handles and creates values for. |
int |
getMinimumNumberOfExpectedArguments()
This method must return the number of arguments that the function expects to perform its operation correctly.
|
MessageSet |
validate(ApplicationUser searcher,
FunctionOperand operand,
TerminalClause terminalClause)
Will validate the function operand's arguments and report back any errors.
|
getFunctionName, getI18n, getModuleDescriptor, init, isList, validateNumberOfArgsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetValuesprotected final SubTaskManager subTaskManager
protected AbstractIssueTypeFunction(SubTaskManager subTaskManager)
public MessageSet validate(ApplicationUser searcher, FunctionOperand operand, TerminalClause terminalClause)
JqlFunctionsearcher - the user performing the searchoperand - the operand to validateterminalClause - the terminal clause that contains the operandpublic int getMinimumNumberOfExpectedArguments()
JqlFunctionpublic JiraDataType getDataType()
JqlFunctionJiraDataType that this function handles and creates values for. This
allows us to infer some information about how it will interact with other elements in the system.
For example, if this returns JiraDataTypes.DATE then we know that we can provide
values for any clauses that also specify a data type of DATE.
JiraDataTypesCopyright © 2002-2022 Atlassian. All Rights Reserved.