com.atlassian.studio.confluence.importexport
Class AddOutgoingApplicationLinksPostImportTask

java.lang.Object
  extended by com.atlassian.studio.confluence.importexport.AddOutgoingApplicationLinksPostImportTask
All Implemented Interfaces:
PostImportTask

public class AddOutgoingApplicationLinksPostImportTask
extends java.lang.Object
implements PostImportTask

A post-import task that restores outgoing application links for a Confluence space.


Constructor Summary
AddOutgoingApplicationLinksPostImportTask(com.atlassian.studio.common.appstatus.AppStatusService appStatusService, com.atlassian.studio.common.appstatus.AppLinksMaintainer appLinksMaintainer, com.atlassian.applinks.spi.link.MutatingEntityLinkService mutatingEntityLinkService, com.atlassian.applinks.spi.util.TypeAccessor typeAccessor, java.lang.String projectKey, com.atlassian.sal.api.ApplicationProperties applicationProperties)
           
 
Method Summary
 void execute(ImportContext context)
          Perform any necessary clean-up to ensure the imported data is internally consistent.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AddOutgoingApplicationLinksPostImportTask

public AddOutgoingApplicationLinksPostImportTask(com.atlassian.studio.common.appstatus.AppStatusService appStatusService,
                                                 com.atlassian.studio.common.appstatus.AppLinksMaintainer appLinksMaintainer,
                                                 com.atlassian.applinks.spi.link.MutatingEntityLinkService mutatingEntityLinkService,
                                                 com.atlassian.applinks.spi.util.TypeAccessor typeAccessor,
                                                 java.lang.String projectKey,
                                                 com.atlassian.sal.api.ApplicationProperties applicationProperties)
Method Detail

execute

public void execute(ImportContext context)
             throws ImportExportException
Description copied from interface: PostImportTask
Perform any necessary clean-up to ensure the imported data is internally consistent.

Specified by:
execute in interface PostImportTask
Parameters:
context - the context of the import which has just finished
Throws:
ImportExportException - if there was a problem with this task that should mean aborting the import entirely. Most implementations should not throw any exceptions, but rather log an error and allow the import to continue.


Copyright © 2003-2014 Atlassian. All Rights Reserved.