@Internal public ProjectComponentCreatedEvent(ProjectComponent projectComponent) { super(projectComponent); } }
/** * Indicate that validation should be skipped. * This would only set the required values as if validation was successful. * This should only be performed when error messages not applicable. * @return true if the validation should be skipped else false. */ @Internal boolean shouldSkipValidation() { return skipValidation; }
@Internal public NotificationSchemeCopiedEvent(Scheme fromScheme, Scheme toScheme) { super(fromScheme, toScheme); } }
@Internal public DraftWorkflowPublishedEvent(JiraWorkflow workflow, JiraWorkflow originalWorkflow) { super(workflow); this.originalWorkflow = originalWorkflow; }
@Internal public GetProjectResult(ErrorCollection errorCollection, Project project) { super(errorCollection, project); } }
@Internal public DeleteProjectValidationResult(final ErrorCollection errorCollection, final Project project) { super(errorCollection, project); } }
@Internal public ChangeHistoryPropertySetEvent(final EntityProperty entityProperty, final ApplicationUser user) { super(entityProperty, user); } }
/** * Indicates whether the license key has been issued as an JIRA Application license ( role based license ) or * whether we have interpreted it as an JIRA Application license. * * @return true if license key was issued as an JIRA Application license ( role based license ), false if we have * interpreted license as JIRA Application license or when no interpretation occurred. * @since 7.0 */ @Internal boolean hasNativeRole(); }
@Internal public NotificationSchemeUpdatedEvent(Scheme scheme, Scheme originalScheme) { super(scheme, originalScheme); } }
@Internal public ReindexAllCompletedEvent(final long startTime, final long duration, final boolean useBackgroundIndexing, final boolean updateReplicatedIndex, final IssueIndexingParams issueIndexingParams, final Long issueCount) { this.startTime = startTime; this.duration = duration; this.useBackgroundIndexing = useBackgroundIndexing; this.updateReplicatedIndex = updateReplicatedIndex; this.issueIndexingParams = issueIndexingParams; this.issueCount = issueCount; }
@VisibleForTesting @Internal public ChartHelper(JFreeChart chart, TempFileFactory tempFileFactory, ChartUtils chartUtils) { this.chart = chart; this.tempFileFactory = tempFileFactory; this.chartUtils = chartUtils; }
/** * Un-subscribe a {@link Consumer} from being called after clearing of this manager's cache. * * @param consumer {@link Consumer} to be un-subscribed from this manager. * @see #subscribeToClearCache(Consumer) * @since 7.0 */ @Internal void unSubscribeFromClearCache(@Nonnull Consumer<Void> consumer); }
/** * @since JIRA 6.3 */ @Internal UpdateValidationResult(final MutableIssue issue, final ErrorCollection errors, final Map<String, Object> fieldValuesHolder, @Nullable final HistoryMetadata historyMetadata) { super(issue, errors); this.fieldValuesHolder = fieldValuesHolder; this.historyMetadata = historyMetadata; }
/** * Checks anonymous permission of the given permission type for the given issue. * * @param permissionKey permission key. * @param issue the issue to which permission is being checked. * @return true only if the anonymous user is permitted. * @since v6.4 */ @Internal boolean hasSchemePermission(@Nonnull ProjectPermissionKey permissionKey, @Nonnull Issue issue);
@Internal public IssueSecuritySchemeRemovedFromProjectEvent(@Nonnull final Scheme scheme, @Nonnull final Project project) { super(scheme, project); } }
@Internal public AbstractProjectEvent(@Nullable final ApplicationUser user, @Nonnull final Project project) { Preconditions.checkNotNull(project, "project must not be null"); this.user = user; this.project = project; }
@Internal public ProjectUpdatedEvent(@Nullable final ApplicationUser user, @Nonnull final Project project, @Nonnull final Project oldProject) { super(user, project); Preconditions.checkNotNull(oldProject, "oldProject must not be null"); this.oldProject = oldProject; }
/** * Specify that all validations should be skipped. This should only be used when it does not matter that user * gets created or added. */ @Internal public CreateUserRequest skipValidation() { return new CreateUserRequest(loggedInUser, username, password, emailAddress, displayName, directoryId, confirmPassword, applicationKeys, sendNotification, passwordRequired, performPermissionCheck, true, userEventType); }
@Internal public GlobalPermissionType(final String key, final String nameI18nKey, final String descriptionI18nKey, final boolean anonymousAllowed) { this.key = key; this.globalPermissionKey = GlobalPermissionKey.of(key); this.nameI18nKey = nameI18nKey; this.descriptionI18nKey = descriptionI18nKey; this.anonymousAllowed = anonymousAllowed; }
@Internal public IssueResult(final MutableIssue issue) { super(issue, new SimpleErrorCollection()); }