com.atlassian.annotations.Internal类的使用及代码示例

x33g5p2x  于2022-01-21 转载在 其他  
字(4.6k)|赞(0)|评价(0)|浏览(104)

本文整理了Java中com.atlassian.annotations.Internal类的一些代码示例,展示了Internal类的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Internal类的具体详情如下:
包路径:com.atlassian.annotations.Internal
类名称:Internal

Internal介绍

暂无

代码示例

代码示例来源:origin: com.atlassian.jira/jira-api

@Internal
  public ProjectComponentCreatedEvent(ProjectComponent projectComponent)
  {
    super(projectComponent);
  }
}

代码示例来源:origin: com.atlassian.jira/jira-api

/**
   * 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);
}

代码示例来源:origin: com.atlassian.jira/jira-api

/**
 * 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);

代码示例来源:origin: com.atlassian.jira/jira-api

/**
 * 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);

代码示例来源:origin: com.atlassian.jira/jira-api

/**
 * 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;
}

代码示例来源:origin: com.atlassian.jira/jira-api

@Internal
  public VersionCreateEvent(@Nonnull Version version)
  {
    super(version);
  }
}

代码示例来源:origin: com.atlassian.jira/jira-api

@Internal
  public NotificationSchemeCopiedEvent(Scheme fromScheme, Scheme toScheme)
  {
    super(fromScheme, toScheme);
  }
}

代码示例来源:origin: com.atlassian.jira/jira-api

@Internal
  public VersionArchiveEvent(@Nonnull Version version)
  {
    super(version);
  }
}

代码示例来源:origin: com.atlassian.jira/jira-api

@Internal
  public WorkflowSchemeDeletedEvent(Long id, String name)
  {
    super(id, name);
  }
}

代码示例来源:origin: com.atlassian.jira/jira-api

@Internal
  public VersionUnreleaseEvent(@Nonnull Version version)
  {
    super(version);
  }
}

代码示例来源:origin: com.atlassian.jira/jira-api

@Internal
  public WorkflowSchemeCopiedEvent(Scheme fromScheme, Scheme toScheme)
  {
    super(fromScheme, toScheme);
  }
}

代码示例来源:origin: com.atlassian.jira/jira-api

/**
 * 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);

代码示例来源:origin: com.atlassian.jira/jira-api

@Internal
public DraftWorkflowPublishedEvent(JiraWorkflow workflow, JiraWorkflow originalWorkflow) {
  super(workflow);
  this.originalWorkflow = originalWorkflow;
}

代码示例来源:origin: com.atlassian.jira/jira-api

@Internal
  public VersionReleaseEvent(@Nonnull Version version)
  {
    super(version);
  }
}

代码示例来源:origin: com.atlassian.jira/jira-api

/**
 * 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);

代码示例来源:origin: com.atlassian.jira/jira-api

@Internal
private GlobalPermissionKey(@Nonnull final String key)
{
  this.key = key;
}

代码示例来源:origin: com.atlassian.jira/jira-api

@Internal
  public GetProjectResult(ErrorCollection errorCollection, Project project)
  {
    super(errorCollection, project);
  }
}

代码示例来源:origin: com.atlassian.jira/jira-api

@Internal
  public VersionUnarchiveEvent(@Nonnull Version version)
  {
    super(version);
  }
}

代码示例来源:origin: com.atlassian.jira/jira-api

@Internal
  public DeleteProjectValidationResult(final ErrorCollection errorCollection, final Project project)
  {
    super(errorCollection, project);
  }
}

代码示例来源:origin: com.atlassian.jira/jira-api

/**
 * 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类方法