Class DefaultArchivingLicenseCheck
java.lang.Object
com.atlassian.jira.project.archiving.DefaultArchivingLicenseCheck
- All Implemented Interfaces:
ArchivingLicenseCheck
Aggregates logic to check if archiving is enabled for current instance
- Since:
- v7.9
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDefaultArchivingLicenseCheck
(ClusterManager clusterManager, JiraLicenseManager jiraLicenseManager, FeatureManager featureManager, JiraProperties jiraProperties) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Checks whether instance is licenced for archivingboolean
Checks whether instance is licenced for issue archivingboolean
Checks whether instance is licenced for project archiving
-
Field Details
-
DATA_CENTER_FAKE_PROPERTY_KEY
- See Also:
-
DATA_CENTER_FAKE_PROPERTY_VALUE
- See Also:
-
-
Constructor Details
-
DefaultArchivingLicenseCheck
public DefaultArchivingLicenseCheck(ClusterManager clusterManager, JiraLicenseManager jiraLicenseManager, FeatureManager featureManager, JiraProperties jiraProperties)
-
-
Method Details
-
isLicensedForIssueArchiving
public boolean isLicensedForIssueArchiving()Description copied from interface:ArchivingLicenseCheck
Checks whether instance is licenced for issue archiving- Specified by:
isLicensedForIssueArchiving
in interfaceArchivingLicenseCheck
- Returns:
- boolean
-
isLicensedForProjectArchiving
public boolean isLicensedForProjectArchiving()Description copied from interface:ArchivingLicenseCheck
Checks whether instance is licenced for project archiving- Specified by:
isLicensedForProjectArchiving
in interfaceArchivingLicenseCheck
- Returns:
- boolean
-
isLicensedForArchiving
public boolean isLicensedForArchiving()Description copied from interface:ArchivingLicenseCheck
Checks whether instance is licenced for archiving- Specified by:
isLicensedForArchiving
in interfaceArchivingLicenseCheck
- Returns:
- boolean
-