Modifier and Type | Method and Description |
---|---|
MessageSet |
DefaultProjectImportService.validateBackupProjectImportableSystemLevel(JiraServiceContext jiraServiceContext,
BackupProject backupProject,
BackupSystemInformation backupSystemInformation) |
MessageSet |
ProjectImportService.validateBackupProjectImportableSystemLevel(JiraServiceContext jiraServiceContext,
BackupProject project,
BackupSystemInformation backupSystemInformation)
Returns a MessageSet which reports if the provided BackupProject meets the JIRA system requirements
to be imported.
|
Modifier and Type | Method and Description |
---|---|
MessageSet |
SearchService.ParseResult.getErrors() |
MessageSet |
DefaultSearchService.validateQuery(com.atlassian.crowd.embedded.api.User searcher,
Query query) |
MessageSet |
SearchService.validateQuery(com.atlassian.crowd.embedded.api.User searcher,
Query query)
Validates the specified
Query for passed user. |
MessageSet |
DefaultSearchService.validateQuery(com.atlassian.crowd.embedded.api.User searcher,
Query query,
Long searchRequestId) |
MessageSet |
SearchService.validateQuery(com.atlassian.crowd.embedded.api.User searcher,
Query query,
Long searchRequestId)
Validates the specified
Query for passed user and search request. |
Constructor and Description |
---|
SearchService.ParseResult(Query query,
MessageSet errors) |
Modifier and Type | Method and Description |
---|---|
MessageSet |
EchoFunction.validate(com.atlassian.crowd.embedded.api.User searcher,
FunctionOperand operand,
TerminalClause terminalClause) |
Modifier and Type | Method and Description |
---|---|
MessageSet |
EchoJqlFunction.validate(com.atlassian.crowd.embedded.api.User searcher,
FunctionOperand operand,
TerminalClause terminalClause) |
Modifier and Type | Method and Description |
---|---|
MessageSet |
MappingResult.getCustomFieldMessageSet() |
MessageSet |
MappingResult.getFileAttachmentMessageSet() |
MessageSet |
MappingResult.getGroupMessageSet() |
MessageSet |
MappingResult.getIssueLinkTypeMessageSet() |
MessageSet |
MappingResult.getIssueSecurityLevelMessageSet() |
MessageSet |
MappingResult.getIssueTypeMessageSet() |
MessageSet |
MappingResult.ValidationMessage.getMessageSet() |
MessageSet |
MappingResult.getPriorityMessageSet() |
MessageSet |
MappingResult.getProjectRoleActorMessageSet() |
MessageSet |
MappingResult.getProjectRoleMessageSet() |
MessageSet |
MappingResult.getResolutionMessageSet() |
MessageSet |
MappingResult.getStatusMessageSet() |
MessageSet |
MappingResult.getUserMessageSet() |
Modifier and Type | Method and Description |
---|---|
Map<String,MessageSet> |
MappingResult.getCustomFieldValueMessageSets()
Returns a Map keyed on the CustomField, with a MessageSet for each Custom Field containing any
|
Modifier and Type | Method and Description |
---|---|
void |
MappingResult.setCustomFieldMessageSet(MessageSet customFieldMessageSet) |
void |
MappingResult.setFileAttachmentMessageSet(MessageSet fileAttachmentMessageSet) |
void |
MappingResult.setGroupMessageSet(MessageSet groupMessageSet) |
void |
MappingResult.setIssueLinkTypeMessageSet(MessageSet issueLinkTypeMessageSet) |
void |
MappingResult.setIssueSecurityLevelMessageSet(MessageSet issueSecurityLevelMessageSet) |
void |
MappingResult.setIssueTypeMessageSet(MessageSet issueTypeMessageSet) |
void |
MappingResult.setPriorityMessageSet(MessageSet priorityMessageSet) |
void |
MappingResult.setProjectRoleActorMessageSet(MessageSet projectRoleActorMessageSet) |
void |
MappingResult.setProjectRoleMessageSet(MessageSet projectRoleMessageSet) |
void |
MappingResult.setResolutionMessageSet(MessageSet resolutionMessageSet) |
void |
MappingResult.setStatusMessageSet(MessageSet statusMessageSet) |
void |
MappingResult.setUserMessageSet(MessageSet userMessageSet) |
Modifier and Type | Method and Description |
---|---|
void |
MappingResult.setCustomFieldValueMessageSets(Map<String,MessageSet> customFieldValueMessageSets) |
Constructor and Description |
---|
MappingResult.ValidationMessage(String displayName,
MessageSet messageSet) |
Modifier and Type | Method and Description |
---|---|
MessageSet |
CascadingSelectCustomFieldImporter.canMapImportValue(ProjectImportMapper projectImportMapper,
ExternalCustomFieldValue customFieldValue,
FieldConfig fieldConfig,
I18nHelper i18n) |
MessageSet |
VersionCustomFieldImporter.canMapImportValue(ProjectImportMapper projectImportMapper,
ExternalCustomFieldValue customFieldValue,
FieldConfig fieldConfig,
I18nHelper i18n) |
MessageSet |
ProjectPickerCustomFieldImporter.canMapImportValue(ProjectImportMapper projectImportMapper,
ExternalCustomFieldValue customFieldValue,
FieldConfig fieldConfig,
I18nHelper i18n) |
MessageSet |
SelectCustomFieldImporter.canMapImportValue(ProjectImportMapper projectImportMapper,
ExternalCustomFieldValue customFieldValue,
FieldConfig fieldConfig,
I18nHelper i18n) |
MessageSet |
ProjectCustomFieldImporter.canMapImportValue(ProjectImportMapper projectImportMapper,
ExternalCustomFieldValue customFieldValue,
FieldConfig fieldConfig,
I18nHelper i18n)
The custom field needs to determine if the provided custom field value, in the context of the config and
project import mapper, is a valid value that can be imported.
|
MessageSet |
GroupCustomFieldImporter.canMapImportValue(ProjectImportMapper projectImportMapper,
ExternalCustomFieldValue customFieldValue,
FieldConfig fieldConfig,
I18nHelper i18n) |
MessageSet |
NoTransformationCustomFieldImporter.canMapImportValue(ProjectImportMapper projectImportMapper,
ExternalCustomFieldValue customFieldValue,
FieldConfig fieldConfig,
I18nHelper i18n) |
MessageSet |
UserCustomFieldImporter.canMapImportValue(ProjectImportMapper projectImportMapper,
ExternalCustomFieldValue customFieldValue,
FieldConfig fieldConfig,
I18nHelper i18n) |
Modifier and Type | Method and Description |
---|---|
MessageSet |
AttachmentFileValidatorHandler.getValidationResults() |
Modifier and Type | Method and Description |
---|---|
MessageSet |
IssueLinkTypeMapperValidator.validateMappings(I18nHelper i18nHelper,
BackupProject backupProject,
IssueLinkTypeMapper issueLinkTypeMapper)
This validator makes sure that the IssueLinkTypes that are required:
exist in the current instance
is or is not a subtask link as appropriate
|
MessageSet |
IssueLinkTypeMapperValidatorImpl.validateMappings(I18nHelper i18nHelper,
BackupProject backupProject,
IssueLinkTypeMapper issueLinkTypeMapper) |
MessageSet |
IssueTypeMapperValidatorImpl.validateMappings(I18nHelper i18nHelper,
BackupProject backupProject,
IssueTypeMapper issueTypeMapper) |
MessageSet |
IssueTypeMapperValidator.validateMappings(I18nHelper i18nHelper,
BackupProject backupProject,
IssueTypeMapper issueTypeMapper)
Makes sure that the issue types that are required:
exists in the current instance
is valid for the current projects issue type scheme
is or is not a subtask based on how the issue type was defined in the backup system
|
MessageSet |
CustomFieldMapperValidatorImpl.validateMappings(I18nHelper i18nHelper,
BackupProject backupProject,
IssueTypeMapper issueTypeMapper,
CustomFieldMapper customFieldMapper) |
MessageSet |
CustomFieldMapperValidator.validateMappings(I18nHelper i18nHelper,
BackupProject backupProject,
IssueTypeMapper issueTypeMapper,
CustomFieldMapper customFieldMapper)
Validates the automatic mappings that have been created to see if the mappings are relevant in the current
JIRA instances setup.
|
MessageSet |
StatusMapperValidator.validateMappings(I18nHelper i18nHelper,
BackupProject backupProject,
IssueTypeMapper issueTypeMapper,
StatusMapper statusMapper)
Makes sure that the statuses that are required:
exist in the current instance
are valid for the issue type registered based on the workflow associated with the project being restored
|
MessageSet |
StatusMapperValidatorImpl.validateMappings(I18nHelper i18nHelper,
BackupProject backupProject,
IssueTypeMapper issueTypeMapper,
StatusMapper statusMapper) |
MessageSet |
ProjectRoleMapperValidator.validateMappings(I18nHelper i18nHelper,
SimpleProjectImportIdMapper simpleProjectImportIdMapper) |
MessageSet |
AbstractSimpleMapperValidator.validateMappings(I18nHelper i18nHelper,
SimpleProjectImportIdMapper simpleProjectImportIdMapper) |
MessageSet |
MapperValidator.validateMappings(I18nHelper i18nHelper,
SimpleProjectImportIdMapper simpleProjectImportIdMapper)
This is a simple validation method that will only check to see that all the required values of the
provided mapper have been mapped to the current instance of JIRA.
|
MessageSet |
UserMapperValidator.validateMappings(I18nHelper i18nHelper,
UserMapper userMapper)
This validator makes sure that the Users that are required:
exist in the current instance
|
MessageSet |
UserMapperValidatorImpl.validateMappings(I18nHelper i18nHelper,
UserMapper userMapper) |
MessageSet |
IssueSecurityLevelValidator.validateMappings(SimpleProjectImportIdMapper issueSecurityLevelMapper,
BackupProject backupProject,
I18nHelper i18nHelper) |
MessageSet |
ProjectRoleActorMapperValidator.validateProjectRoleActors(I18nHelper i18nHelper,
ProjectImportMapper projectImportMapper,
ProjectImportOptions projectImportOptions)
Makes sure that the ProjectRoleActors that we want to add to the project roles actually exist.
|
MessageSet |
ProjectRoleActorMapperValidatorImpl.validateProjectRoleActors(I18nHelper i18nHelper,
ProjectImportMapper projectImportMapper,
ProjectImportOptions projectImportOptions) |
Modifier and Type | Method and Description |
---|---|
MessageSet |
TextQueryValidator.validate(org.apache.lucene.queryParser.QueryParser queryParser,
String query,
String fieldName,
String sourceFunction,
boolean shortMessage,
I18nHelper i18n) |
Modifier and Type | Method and Description |
---|---|
MessageSet |
EmptyOperandHandler.validate(com.atlassian.crowd.embedded.api.User searcher,
EmptyOperand operand,
TerminalClause terminalClause) |
MessageSet |
FunctionOperandHandler.validate(com.atlassian.crowd.embedded.api.User searcher,
FunctionOperand operand,
TerminalClause terminalClause) |
MessageSet |
MultiValueOperandHandler.validate(com.atlassian.crowd.embedded.api.User searcher,
MultiValueOperand operand,
TerminalClause terminalClause) |
MessageSet |
DefaultJqlOperandResolver.validate(com.atlassian.crowd.embedded.api.User user,
Operand operand,
TerminalClause terminalClause) |
MessageSet |
JqlOperandResolver.validate(com.atlassian.crowd.embedded.api.User user,
Operand operand,
TerminalClause terminalClause)
Validates the operand against its handler.
|
MessageSet |
DefaultJqlOperandResolver.validate(com.atlassian.crowd.embedded.api.User searcher,
Operand operand,
WasClause clause) |
MessageSet |
JqlOperandResolver.validate(com.atlassian.crowd.embedded.api.User searcher,
Operand operand,
WasClause clause) |
MessageSet |
SingleValueOperandHandler.validate(com.atlassian.crowd.embedded.api.User searcher,
SingleValueOperand operand,
TerminalClause terminalClause) |
MessageSet |
OperandHandler.validate(com.atlassian.crowd.embedded.api.User searcher,
T operand,
TerminalClause terminalClause)
Will perform operand specific validation.
|
Modifier and Type | Method and Description |
---|---|
MessageSet |
SupportedOperatorsValidator.validate(ApplicationUser searcher,
TerminalClause terminalClause) |
MessageSet |
NumberOfArgumentsValidator.validate(FunctionOperand operand) |
MessageSet |
ChangedClauseValidator.validate(com.atlassian.crowd.embedded.api.User searcher,
ChangedClause clause) |
MessageSet |
HistoryPredicateValidator.validate(com.atlassian.crowd.embedded.api.User searcher,
ChangedClause clause,
HistoryPredicate predicate) |
MessageSet |
OrderByValidator.validate(com.atlassian.crowd.embedded.api.User searcher,
OrderBy orderBy)
Will add messages if there is a portion of the order by that contains a non-orderable jql clause name or
if there are any duplicates or if the user is trying to order by a field that they can't see.
|
MessageSet |
DefaultOrderByValidator.validate(com.atlassian.crowd.embedded.api.User searcher,
OrderBy orderBy) |
MessageSet |
IssueTypeValidator.validate(com.atlassian.crowd.embedded.api.User searcher,
TerminalClause terminalClause) |
MessageSet |
IssueSecurityLevelClauseValidator.validate(com.atlassian.crowd.embedded.api.User searcher,
TerminalClause terminalClause) |
MessageSet |
WasClauseValidator.validate(com.atlassian.crowd.embedded.api.User searcher,
TerminalClause terminalClause) |
MessageSet |
CommentValidator.validate(com.atlassian.crowd.embedded.api.User searcher,
TerminalClause terminalClause) |
MessageSet |
ProjectCategoryValidator.validate(com.atlassian.crowd.embedded.api.User searcher,
TerminalClause terminalClause) |
MessageSet |
PriorityValidator.validate(com.atlassian.crowd.embedded.api.User searcher,
TerminalClause terminalClause) |
MessageSet |
DefaultOperatorUsageValidator.validate(com.atlassian.crowd.embedded.api.User searcher,
TerminalClause clause) |
MessageSet |
AllTextValidator.validate(com.atlassian.crowd.embedded.api.User searcher,
TerminalClause terminalClause) |
MessageSet |
LabelsValidator.validate(com.atlassian.crowd.embedded.api.User searcher,
TerminalClause terminalClause) |
MessageSet |
ComponentValidator.validate(com.atlassian.crowd.embedded.api.User searcher,
TerminalClause terminalClause) |
MessageSet |
ProjectValidator.validate(com.atlassian.crowd.embedded.api.User searcher,
TerminalClause terminalClause) |
MessageSet |
WatchesValidator.validate(com.atlassian.crowd.embedded.api.User searcher,
TerminalClause terminalClause) |
MessageSet |
IssueIdValidator.validate(com.atlassian.crowd.embedded.api.User searcher,
TerminalClause terminalClause) |
MessageSet |
SavedFilterClauseValidator.validate(com.atlassian.crowd.embedded.api.User searcher,
TerminalClause terminalClause) |
MessageSet |
WorkRatioValidator.validate(com.atlassian.crowd.embedded.api.User searcher,
TerminalClause terminalClause) |
MessageSet |
StatusCategoryValidator.validate(com.atlassian.crowd.embedded.api.User searcher,
TerminalClause terminalClause) |
MessageSet |
ResolutionValidator.validate(com.atlassian.crowd.embedded.api.User searcher,
TerminalClause terminalClause) |
MessageSet |
EntityPropertyClauseValidator.validate(com.atlassian.crowd.embedded.api.User searcher,
TerminalClause terminalClause) |
MessageSet |
IssueParentValidator.validate(com.atlassian.crowd.embedded.api.User searcher,
TerminalClause terminalClause) |
MessageSet |
SelectCustomFieldValidator.validate(com.atlassian.crowd.embedded.api.User searcher,
TerminalClause terminalClause) |
MessageSet |
VotesValidator.validate(com.atlassian.crowd.embedded.api.User searcher,
TerminalClause terminalClause) |
MessageSet |
StatusValidator.validate(com.atlassian.crowd.embedded.api.User searcher,
TerminalClause terminalClause) |
MessageSet |
DateValidator.validate(com.atlassian.crowd.embedded.api.User searcher,
TerminalClause terminalClause) |
MessageSet |
GroupCustomFieldValidator.validate(com.atlassian.crowd.embedded.api.User searcher,
TerminalClause terminalClause) |
MessageSet |
ClauseValidator.validate(com.atlassian.crowd.embedded.api.User searcher,
TerminalClause terminalClause)
Validates a clause and adds human readable i18n'ed messages if there is a problem.
|
MessageSet |
LocalDateValidator.validate(com.atlassian.crowd.embedded.api.User searcher,
TerminalClause terminalClause) |
MessageSet |
AttachmentsClauseValidator.validate(com.atlassian.crowd.embedded.api.User searcher,
TerminalClause terminalClause) |
MessageSet |
ExactTextCustomFieldValidator.validate(com.atlassian.crowd.embedded.api.User searcher,
TerminalClause terminalClause) |
MessageSet |
OperatorUsageValidator.validate(com.atlassian.crowd.embedded.api.User searcher,
TerminalClause clause)
Validate the usage of the Operator and Operand that are held in the clause.
|
MessageSet |
NumberCustomFieldValidator.validate(com.atlassian.crowd.embedded.api.User searcher,
TerminalClause terminalClause) |
MessageSet |
FreeTextFieldValidator.validate(com.atlassian.crowd.embedded.api.User searcher,
TerminalClause terminalClause) |
MessageSet |
SupportedOperatorsValidator.validate(com.atlassian.crowd.embedded.api.User searcher,
TerminalClause terminalClause) |
MessageSet |
AbstractUserValidator.validate(com.atlassian.crowd.embedded.api.User searcher,
TerminalClause terminalClause) |
MessageSet |
SavedFilterClauseValidator.validate(com.atlassian.crowd.embedded.api.User searcher,
TerminalClause terminalClause,
Long filterId) |
MessageSet |
WasValuesExistValidator.validate(com.atlassian.crowd.embedded.api.User searcher,
WasClause clause) |
MessageSet |
HistoryPredicateValidator.validate(com.atlassian.crowd.embedded.api.User searcher,
WasClause clause,
HistoryPredicate predicate) |
MessageSet |
HistoryFieldValueValidator.validateValues(com.atlassian.crowd.embedded.api.User searcher,
String fieldName,
List<QueryLiteral> rawValues) |
MessageSet |
ValidatorVisitor.visit(AndClause andClause) |
MessageSet |
ValidatorVisitor.visit(ChangedClause clause) |
MessageSet |
ValidatorVisitor.visit(NotClause notClause) |
MessageSet |
ValidatorVisitor.visit(OrClause orClause) |
MessageSet |
ValidatorVisitor.visit(TerminalClause clause) |
MessageSet |
ValidatorVisitor.visit(WasClause clause) |
Modifier and Type | Method and Description |
---|---|
MessageSet |
AllSubIssueTypesFunction.validate(com.atlassian.crowd.embedded.api.User user,
FunctionOperand operand,
TerminalClause terminalClause) |
MessageSet |
AbstractUserBasedFunction.validate(com.atlassian.crowd.embedded.api.User searcher,
FunctionOperand functionOperand,
TerminalClause terminalClause) |
MessageSet |
AbstractVersionsFunction.validate(com.atlassian.crowd.embedded.api.User searcher,
FunctionOperand operand,
TerminalClause terminalClause) |
MessageSet |
LinkedIssuesFunction.validate(com.atlassian.crowd.embedded.api.User searcher,
FunctionOperand operand,
TerminalClause terminalClause) |
MessageSet |
CurrentLoginFunction.validate(com.atlassian.crowd.embedded.api.User searcher,
FunctionOperand operand,
TerminalClause terminalClause) |
MessageSet |
WatchedIssuesFunction.validate(com.atlassian.crowd.embedded.api.User searcher,
FunctionOperand operand,
TerminalClause terminalClause) |
MessageSet |
IssueHistoryFunction.validate(com.atlassian.crowd.embedded.api.User searcher,
FunctionOperand operand,
TerminalClause terminalClause) |
MessageSet |
AbstractUserCapabilityFunction.validate(com.atlassian.crowd.embedded.api.User searcher,
FunctionOperand functionOperand,
TerminalClause terminalClause) |
MessageSet |
CascadeOptionFunction.validate(com.atlassian.crowd.embedded.api.User searcher,
FunctionOperand operand,
TerminalClause terminalClause) |
MessageSet |
NowFunction.validate(com.atlassian.crowd.embedded.api.User searcher,
FunctionOperand operand,
TerminalClause terminalClause) |
MessageSet |
LastLoginFunction.validate(com.atlassian.crowd.embedded.api.User searcher,
FunctionOperand operand,
TerminalClause terminalClause) |
MessageSet |
AbstractDateFunction.validate(com.atlassian.crowd.embedded.api.User searcher,
FunctionOperand operand,
TerminalClause terminalClause) |
MessageSet |
VotedIssuesFunction.validate(com.atlassian.crowd.embedded.api.User searcher,
FunctionOperand operand,
TerminalClause terminalClause) |
MessageSet |
AbstractIssueTypeFunction.validate(com.atlassian.crowd.embedded.api.User searcher,
FunctionOperand operand,
TerminalClause terminalClause) |
MessageSet |
RemoteLinksByGlobalIdFunction.validate(com.atlassian.crowd.embedded.api.User searcher,
FunctionOperand operand,
TerminalClause terminalClause) |
MessageSet |
CurrentUserFunction.validate(com.atlassian.crowd.embedded.api.User searcher,
FunctionOperand operand,
TerminalClause terminalClause) |
MessageSet |
MembersOfFunction.validate(com.atlassian.crowd.embedded.api.User searcher,
FunctionOperand functionOperand,
TerminalClause terminalClause) |
MessageSet |
JqlFunction.validate(com.atlassian.crowd.embedded.api.User searcher,
FunctionOperand operand,
TerminalClause terminalClause)
Will validate the function operand's arguments and report back any errors.
|
protected MessageSet |
ProjectsWhereUserHasPermissionFunction.validateCapability(String permissionName,
I18nHelper i18n) |
protected MessageSet |
ProjectsWhereUserHasRoleFunction.validateCapability(String roleName,
I18nHelper i18n) |
protected abstract MessageSet |
AbstractUserCapabilityFunction.validateCapability(String capability,
I18nHelper i18n)
Check the capability requested.
|
protected MessageSet |
AbstractJqlFunction.validateNumberOfArgs(FunctionOperand operand,
int expected) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractMessageSet
Base class for the message set.
|
class |
ListOrderedMessageSetImpl
Is a message set that keeps the messages and warnings in the order in which they were added.
|
class |
MessageSetImpl
Message set implementation that uses the messages natural ordering to sort the messages that are added.
|
Modifier and Type | Method and Description |
---|---|
void |
MessageSet.addMessageSet(MessageSet messageSet)
Will concatenate this message set with the provided message set.
|
void |
AbstractMessageSet.addMessageSet(MessageSet messageSet) |
Copyright © 2002-2015 Atlassian. All Rights Reserved.