@ExperimentalApi public class ArchivedProjectManager extends Object
Constructor and Description |
---|
ArchivedProjectManager(ProjectPropertiesManager projectPropertiesManager,
FeatureManager featureManager,
ArchivingLicenseCheck archivingLicenseCheck,
JiraProperties jiraProperties,
DefaultUserManager defaultUserManager) |
Modifier and Type | Method and Description |
---|---|
Optional<ApplicationUser> |
getArchivedBy(Project project) |
Long |
getArchivedTimestamp(Project project) |
boolean |
isArchivingAllowed() |
boolean |
isIssueArchived(Issue issue) |
boolean |
isProjectArchived(Project project) |
void |
markProjectAsActive(Project project) |
void |
markProjectAsArchived(Project project,
ApplicationUser archivedBy) |
public ArchivedProjectManager(ProjectPropertiesManager projectPropertiesManager, FeatureManager featureManager, ArchivingLicenseCheck archivingLicenseCheck, JiraProperties jiraProperties, DefaultUserManager defaultUserManager)
public boolean isArchivingAllowed()
public boolean isIssueArchived(Issue issue)
public void markProjectAsArchived(Project project, ApplicationUser archivedBy)
public void markProjectAsActive(Project project)
public Optional<ApplicationUser> getArchivedBy(Project project)
Copyright © 2002-2019 Atlassian. All Rights Reserved.