public class JiraComponents extends Object implements DisposableBean, InitializingBean, CachingComponent
| Constructor and Description |
|---|
JiraComponents() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
void |
clearCaches() |
void |
clearUserCaches(ApplicationUser user)
Clear all cached data associated with the specified user.
|
void |
destroy() |
static ApplicationProperties |
getApplicationProperties() |
static AvatarManager |
getAvatarManager() |
static <T> T |
getComponent(Class<T> intfClass) |
static ComponentClassManager |
getComponentClassManager() |
static <T> T |
getComponentOfType(Class<T> intfClass) |
static ConstantsManager |
getConstantsManager() |
static GlobalPermissionManager |
getGlobalPermissionManager() |
static GroupManager |
getGroupManager() |
static IssueManager |
getIssueManager() |
static JiraAuthenticationContext |
getJiraAuthenticationContext() |
static OptionsManager |
getOptionsManager() |
static <T> T |
getOSGiComponentInstanceOfType(Class<T> intfClass) |
static PermissionManager |
getPermissionManager() |
static PluginAccessor |
getPluginAccessor() |
static ProjectComponentManager |
getProjectComponentManager() |
static ProjectManager |
getProjectManager() |
static UserManager |
getUserManager() |
static UserUtil |
getUserUtil() |
static VersionManager |
getVersionManager() |
static <T,E extends Exception> |
withThreadContextClassLoaderOf(Object object,
CallableE<T,E> code) |
@Nullable
public static <T> T getOSGiComponentInstanceOfType(@NotNull
Class<T> intfClass)
@Nullable
public static <T> T getComponentOfType(@NotNull
Class<T> intfClass)
@Nullable
public static <T> T getComponent(@NotNull
Class<T> intfClass)
public static JiraAuthenticationContext getJiraAuthenticationContext()
public static ProjectManager getProjectManager()
public static ProjectComponentManager getProjectComponentManager()
public static ConstantsManager getConstantsManager()
public static VersionManager getVersionManager()
public static OptionsManager getOptionsManager()
public static UserManager getUserManager()
public static GroupManager getGroupManager()
public static UserUtil getUserUtil()
public static PluginAccessor getPluginAccessor()
public static PermissionManager getPermissionManager()
public static ApplicationProperties getApplicationProperties()
public static IssueManager getIssueManager()
public static AvatarManager getAvatarManager()
public static ComponentClassManager getComponentClassManager()
public static GlobalPermissionManager getGlobalPermissionManager()
public final void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface InitializingBeanExceptionpublic final void destroy()
throws Exception
destroy in interface DisposableBeanExceptionpublic void clearCaches()
clearCaches in interface CachingComponentpublic void clearUserCaches(@NotNull
ApplicationUser user)
CachingComponentclearUserCaches in interface CachingComponentuser - the user for which to clear the cached dataCopyright © 2021 ALM Works. All Rights Reserved.