java.lang.Object
com.atlassian.jira.functest.framework.backdoor.Backdoor

public class Backdoor extends Object
Since:
v5.2
  • Constructor Details

    • Backdoor

      public Backdoor(JIRAEnvironmentData environmentData)
      Original constructor for backward compatibility. Delegates to the new constructor with null credentials.
    • Backdoor

      public Backdoor(JIRAEnvironmentData environmentData, @Nullable BackdoorCredentials credentials)
      New constructor accepting optional credentials.
  • Method Details

    • setCredentials

      public void setCredentials(BackdoorCredentials credentials)
      Sets the credentials for the Backdoor instance. This method configures the internal clients using the provided credentials.
      Parameters:
      credentials - The credentials to set for the Backdoor instance.
    • getTestkit

      public com.atlassian.jira.testkit.client.Backdoor getTestkit()
    • restoreData

      @Deprecated public void restoreData(String fileName)
      Deprecated.
      Restores data from provided file. License will be chosen depending on CIDefaultLicenseProvider
      Parameters:
      fileName - xml file name
    • restoreBlankInstance

      public void restoreBlankInstance()
      Restores data to blank instance. License will be chosen depending on CIDefaultLicenseProvider
    • restoreBlankServerInstance

      public void restoreBlankServerInstance()
      Restores data to blank instance. The restored license will be always Server, regardless of CIDefaultLicenseProvider
    • restoreBlankDataCenterInstance

      public void restoreBlankDataCenterInstance()
      Restores data to blank instance. The restored license will be always DC, regardless of CIDefaultLicenseProvider
    • restoreBlankInstance

      @Deprecated public void restoreBlankInstance(String license)
      Deprecated.
      use restoreBlankInstance(License) instead, since 7.0.1
      Restores to blank instance with provided license.
      Parameters:
      license - the license to use during restoration
    • restoreBlankInstance

      public void restoreBlankInstance(License license)
      Restores to blank instance with provided license.
      Parameters:
      license - the license to use during restoration
    • restoreDataFromResource

      public void restoreDataFromResource(String resource)
      Restores data from provided file. License will be chosen depending on CIDefaultLicenseProvider
      Parameters:
      resource - path to backup file
    • restoreServerInstance

      public void restoreServerInstance(String backupFile)
      Restores data from provided file. The restored license will be always Server, regardless of CIDefaultLicenseProvider
      Parameters:
      backupFile - path to backup file
    • restoreDataCenterInstance

      public void restoreDataCenterInstance(String backupFile)
      Restores data from provided file. The restored license will be always Data Center, regardless of CIDefaultLicenseProvider
      Parameters:
      backupFile - path to backup file
    • restoreData

      @Deprecated public void restoreData(String xmlFileName, String license)
      Deprecated.
      use restoreInstance(String, License) instead, since 8.15.0
      Restores data from provided file and license.
      Parameters:
      xmlFileName - backup file name
      license - the license to use during restoration
    • restoreDataFromResource

      @Deprecated public void restoreDataFromResource(String resourcePath, String license)
      Deprecated.
      use restoreInstance(String, License) instead, since 8.15.0
      Restores data from provided file and license.
      Parameters:
      resourcePath - path to backup file
      license - the license to use during restoration
    • restoreInstance

      public void restoreInstance(String backupFile, License license)
      Restores data from provided backup file and license.
      Parameters:
      backupFile - path to backup file
      license - the license to use during restoration
    • issueNavControl

      public IssuesControl issueNavControl()
    • attachmentFile

      public AttachmentFileControl attachmentFile()
    • screens

      public ScreensControlExt screens()
    • scheduler

      public SchedulerControl scheduler()
    • usersAndGroups

      public com.atlassian.jira.testkit.client.UsersAndGroupsControl usersAndGroups()
    • issues

      public com.atlassian.jira.testkit.client.IssuesControl issues()
    • i18n

      public com.atlassian.jira.testkit.client.I18nControl i18n()
    • darkFeatures

      public com.atlassian.jira.testkit.client.DarkFeaturesControl darkFeatures()
    • plugins

      public PluginsControlExt plugins()
    • permissions

      public com.atlassian.jira.testkit.client.PermissionsControl permissions()
    • filters

      public FiltersClient filters()
    • applicationProperties

      public ApplicationPropertiesControl applicationProperties()
    • entityEngine

      public EntityEngineControl entityEngine()
    • systemProperties

      public com.atlassian.jira.testkit.client.SystemPropertiesControl systemProperties()
    • project

      public ProjectControlExt project()
    • permissionSchemes

      public com.atlassian.jira.testkit.client.PermissionSchemesControl permissionSchemes()
    • issueTypeScreenSchemes

      public IssueTypeScreenSchemesControl issueTypeScreenSchemes()
    • screensControl

      public com.atlassian.jira.testkit.client.ScreensControl screensControl()
    • mailServers

      public com.atlassian.jira.testkit.client.MailServersControl mailServers()
    • searchRequests

      public com.atlassian.jira.testkit.client.SearchRequestControl searchRequests()
    • userProfile

      public UserProfileControl userProfile()
    • userManager

      public UserManagerControl userManager()
    • groupManager

      public GroupManagerControl groupManager()
    • services

      public com.atlassian.jira.testkit.client.ServicesControl services()
    • dataImport

      public com.atlassian.jira.testkit.client.DataImportControl dataImport()
    • testRunner

      public TestRunnerControl testRunner()
    • fieldConfiguration

      public FieldConfigurationControlExt fieldConfiguration()
    • issueType

      public com.atlassian.jira.testkit.client.IssueTypeControl issueType()
    • subtask

      public com.atlassian.jira.testkit.client.SubtaskControl subtask()
    • websudo

      public com.atlassian.jira.testkit.client.WebSudoControl websudo()
    • dashboard

      public com.atlassian.jira.testkit.client.DashboardControl dashboard()
    • barrier

      public BarrierControl barrier()
    • indexing

      public IndexingControl indexing()
    • generalConfiguration

      public com.atlassian.jira.testkit.client.GeneralConfigurationControl generalConfiguration()
    • advancedSettings

      public com.atlassian.jira.testkit.client.AdvancedSettingsControl advancedSettings()
    • customFields

      public com.atlassian.jira.testkit.client.CustomFieldsControl customFields()
    • issueLinking

      public com.atlassian.jira.testkit.client.IssueLinkingControl issueLinking()
    • workflow

      public WorkflowsControlExt workflow()
    • search

      public com.atlassian.jira.testkit.client.restclient.SearchClient search()
    • workflowSchemes

      public com.atlassian.jira.testkit.client.WorkflowSchemesControl workflowSchemes()
    • projectRole

      public com.atlassian.jira.testkit.client.restclient.ProjectRoleClient projectRole()
    • filterSubscriptions

      public FilterSubscriptionControl filterSubscriptions()
    • managedConfiguration

      public ManagedConfigurationControl managedConfiguration()
    • issueTableClient

      public IssueTableClient issueTableClient()
    • searchersClient

      public SearchersClient searchersClient()
    • columnControl

      public ColumnControl columnControl()
    • screenSchemeControl

      public ScreenSchemeControl screenSchemeControl()
    • versions

      public com.atlassian.jira.testkit.client.restclient.VersionClient versions()
    • components

      public com.atlassian.jira.testkit.client.restclient.ComponentClient components()
    • resourceBundleCacheControl

      public ResourceBundleCacheControl resourceBundleCacheControl()
    • getPluginIndexConfigurationControl

      public PluginIndexConfigurationControl getPluginIndexConfigurationControl()
    • applicationRoles

      public ApplicationRoleControl applicationRoles()
    • license

      public LicenseControl license()
    • getDeprecatedWebResourceControl

      public DeprecatedWebResourceControl getDeprecatedWebResourceControl()
    • permissionsOf

      public ManagedPermissions permissionsOf(String userName)
    • getApplicationControl

      public ApplicationControl getApplicationControl()
    • serverInfo

      public ServerInfoControl serverInfo()
    • componentManager

      public ComponentManagerControl componentManager()
    • events

      public EventClient events()
    • helpUrls

      public HelpUrlsControl helpUrls()
    • outgoingMailControl

      public OutgoingMailControl outgoingMailControl()
    • analyticsEventsControl

      public AnalyticsEventsControl analyticsEventsControl()
    • vCacheControl

      public VCacheControl vCacheControl()
    • instanceFeaturesControl

      public InstanceFeaturesControl instanceFeaturesControl()
    • statisticsControl

      public StatisticsControl statisticsControl()
    • issueSecuritySchemesControl

      public com.atlassian.jira.testkit.client.IssueSecuritySchemesControl issueSecuritySchemesControl()
    • flags

      public FlagsControl flags()
    • cacheCheckControl

      public CacheCheckControl cacheCheckControl()
    • zdu

      public ZeroDowntimeControl zdu()
    • upgradeControl

      public UpgradeControl upgradeControl()
    • upgradeClient

      public com.atlassian.jira.testkit.client.restclient.UpgradeClient upgradeClient()
    • server

      public ServerControl server()
    • prioritySchemes

      public PrioritySchemesControl prioritySchemes()
    • quicksearch

      public QuicksearchControl quicksearch()
    • indexSnapshots

      public IndexSnapshotControl indexSnapshots()
    • auditing

      @Deprecated public AuditingClient auditing()
      Deprecated.
      Use advancedAuditing() for every new use case.
      Returns:
      AuditingClient
    • sharePermissions

      public SharePermissionsClient sharePermissions()
    • apdexControl

      public ApdexControl apdexControl()
    • indexSummaryClient

      public IndexSummaryClient indexSummaryClient()
    • archive

      public BrowseArchivedIssueClient archive()
    • cacheControl

      public CacheControl cacheControl()
    • export

      public ExportControl export()
    • entityVersioningControl

      public EntityVersioningControl entityVersioningControl()
    • databaseTimeControl

      public DatabaseTimeControl databaseTimeControl()
    • advancedAuditing

      public AdvancedAuditingClient advancedAuditing()
    • clusterState

      public ClusterStateControl clusterState()
    • clusterIndex

      public ClusterIndexControl clusterIndex()
    • dbrStatsControl

      public DbrStatsControl dbrStatsControl()
    • getTerminologyClient

      public TerminologyClient getTerminologyClient()
    • getWebResourcesControl

      public WebResourcesControl getWebResourcesControl()
    • getSecurityPropertiesDaoControl

      public SecurityPropertiesDaoControl getSecurityPropertiesDaoControl()
    • getSessionControl

      public SessionControl getSessionControl()
    • userMentionClient

      public UserMentionClient userMentionClient()
    • userClient

      public UserClient userClient()
    • getDatabaseMaintenanceControl

      public DatabaseMaintenanceControl getDatabaseMaintenanceControl()
    • profiling

      public ProfilingControl profiling()
    • getIpdControl

      public IPDControl getIpdControl()
    • archivedStatistics

      public ArchivedStatisticsControl archivedStatistics()
    • fieldConfigScheme

      public FieldConfigSchemeControl fieldConfigScheme()
    • allowlist

      public AllowlistControl allowlist()
    • delayedIndexingControl

      public DelayedIndexingControl delayedIndexingControl()
    • velocityData

      public VelocityDataControl velocityData()
    • charts

      public ChartsControl charts()
    • jiraClients

      public com.atlassian.jira.testkit.client.restclient.clients.JiraClients jiraClients()