Package com.atlassian.jira.avatar
Class FileSystemAvatarFileStoreProvider
java.lang.Object
com.atlassian.jira.avatar.FileSystemAvatarFileStoreProvider
- All Implemented Interfaces:
AvatarFileStoreProvider,FileStoreProvider
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns theFileStoreAssociationTargetthat this provider is associated with.com.atlassian.dc.filestore.api.FileStore.PathFetches the base file store path.Fetches the Analytic info about file store for avatarsRetrieves the file store configuration informationReturns information that describes the file store config.booleanIndicates whether the file store is somewhere within the Jira home directory.
-
Constructor Details
-
FileSystemAvatarFileStoreProvider
-
-
Method Details
-
getBasePath
@Nonnull public com.atlassian.dc.filestore.api.FileStore.Path getBasePath()Description copied from interface:FileStoreProviderFetches the base file store path.- Specified by:
getBasePathin interfaceFileStoreProvider- Returns:
- see description
-
isStoreInJiraHome
public boolean isStoreInJiraHome()Description copied from interface:FileStoreProviderIndicates whether the file store is somewhere within the Jira home directory.- Specified by:
isStoreInJiraHomein interfaceFileStoreProvider- Returns:
- see description
-
getInformation
Description copied from interface:FileStoreProviderReturns information that describes the file store config.- Specified by:
getInformationin interfaceFileStoreProvider- Returns:
- a
FileStoreInformationinstance that can be used by the JIRA.Templates.Admin.Jira.FileStoreInformation.fileStoreInformation soy template to present information about the file store in the admin UI.
-
getFileStoreAnalyticInfo
Description copied from interface:AvatarFileStoreProviderFetches the Analytic info about file store for avatars- Specified by:
getFileStoreAnalyticInfoin interfaceAvatarFileStoreProvider- Specified by:
getFileStoreAnalyticInfoin interfaceFileStoreProvider- Returns:
- FileStoreAnalyticInfo
-
getFileStoreConfig
Description copied from interface:AvatarFileStoreProviderRetrieves the file store configuration information- Specified by:
getFileStoreConfigin interfaceAvatarFileStoreProvider- Returns:
- FileStoreConfig
-
getAssociationTarget
Description copied from interface:FileStoreProviderReturns theFileStoreAssociationTargetthat this provider is associated with.- Specified by:
getAssociationTargetin interfaceFileStoreProvider- Returns:
- FileStoreAssociationTarget
-