@ExperimentalApi public class ArchivedProjectManager extends Object
Constructor and Description |
---|
ArchivedProjectManager(ProjectPropertiesManager projectPropertiesManager,
ArchivingLicenseCheck archivingLicenseCheck,
DefaultUserManager defaultUserManager,
FeatureManager featureManager) |
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, ArchivingLicenseCheck archivingLicenseCheck, DefaultUserManager defaultUserManager, FeatureManager featureManager)
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-2022 Atlassian. All Rights Reserved.