Package com.atlassian.jira.sharing.type
Interface ShareTypeFactory
- All Known Implementing Classes:
DefaultShareTypeFactory
@PublicApi
public interface ShareTypeFactory
Factory that supplies all
ShareTypes that are available in the system.- Since:
- v3.13
-
Method Summary
Modifier and TypeMethodDescriptionReturns a Collection of allShareTypeinstnaces available.Return a comparator that can orderSharePermissions for display.getShareType(ShareType.Name type) Returns aShareTypebased on a given key.
-
Method Details
-
getPermissionComparator
Comparator<SharePermission> getPermissionComparator()Return a comparator that can orderSharePermissions for display.- Returns:
- a comparator for permission ordering.