Refine search
@Internal public ProjectComponentCreatedEvent(ProjectComponent projectComponent) { super(projectComponent); } }
/** * 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); }
/** * Left in here temporarily in case it is being used by SD 2.0 * * @deprecated Use {@link #hasPermission(com.atlassian.jira.permission.GlobalPermissionKey, com.atlassian.jira.user.ApplicationUser)} instead. Since v6.2.5. */ @Internal boolean hasPermission(@Nonnull GlobalPermissionType globalPermissionType);
/** * Checks if jira should be responsible for managing a permission. I.e. in on demand mode USE permission might be * managed by User Manager, therefore admin should not be able to add it via jira. * * @param permissionKey global permission * @return true if permission is managed by jira, false otherwise. */ @Internal boolean isPermissionManagedByJira(@Nonnull GlobalPermissionKey permissionKey);
/** * 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 WorkflowSchemeDeletedEvent(Long id, String name) { super(id, name); } }
@Internal public WorkflowSchemeCopiedEvent(Scheme fromScheme, Scheme toScheme) { super(fromScheme, toScheme); } }
/** * Subscribe a {@link Consumer} to be called after this manager's cache has been cleared. * * @param consumer {@link Consumer} that will be called after this manager's cache has been cleared. * @see #unSubscribeFromClearCache(Consumer) * @since 7.0 */ @Internal void subscribeToClearCache(@Nonnull Consumer<Void> consumer);
@Internal public DraftWorkflowPublishedEvent(JiraWorkflow workflow, JiraWorkflow originalWorkflow) { super(workflow); this.originalWorkflow = originalWorkflow; }
/** * Provided a set of workflows, this method will check, if the passed in inactive workflows have any drafts linked * to them. If they do, it will copy the draft into a new inactive workflow, and then delete the draft. * * This method is only meant to be used internally in JIRA. External developers should not call this method * directly. * * @param user The user performing the operation * @param workflows A set of parent {@link com.atlassian.jira.workflow.JiraWorkflow}s */ @Internal void copyAndDeleteDraftsForInactiveWorkflowsIn(ApplicationUser user, Iterable<JiraWorkflow> workflows);
@Internal public GetProjectResult(ErrorCollection errorCollection, Project project) { super(errorCollection, project); } }
@Internal public DeleteProjectValidationResult(final ErrorCollection errorCollection, final Project project) { super(errorCollection, project); } }
/** * 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);