com.atlassian.studio.confluence.importexport
Class BandanaContextImportPreProcessor

java.lang.Object
  extended by com.atlassian.studio.confluence.importexport.AbstractPrimitivePropertyImportPreProcessor
      extended by com.atlassian.studio.confluence.importexport.AbstractBandanaImportPreProcessor
          extended by com.atlassian.studio.confluence.importexport.BandanaContextImportPreProcessor
All Implemented Interfaces:
ImportedObjectPreProcessor

public class BandanaContextImportPreProcessor
extends AbstractBandanaImportPreProcessor

Processes a Bandana import object, updates its value to the space key provided.


Constructor Summary
BandanaContextImportPreProcessor(java.lang.String oldKey, java.lang.String newKey)
           
 
Method Summary
protected  java.util.List<java.lang.String> getPropertyNames()
          Provides a list of names of properties that the pre-processor is targeting for processing.
protected  boolean isTargetObject(ImportedObject object)
           
protected  PrimitiveProperty updateProperty(PrimitiveProperty bandanaContext)
           
 
Methods inherited from class com.atlassian.studio.confluence.importexport.AbstractBandanaImportPreProcessor
handles
 
Methods inherited from class com.atlassian.studio.confluence.importexport.AbstractPrimitivePropertyImportPreProcessor
process, propertiesMatchingNames
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BandanaContextImportPreProcessor

public BandanaContextImportPreProcessor(java.lang.String oldKey,
                                        java.lang.String newKey)
Method Detail

isTargetObject

protected boolean isTargetObject(ImportedObject object)
Specified by:
isTargetObject in class AbstractBandanaImportPreProcessor

updateProperty

protected PrimitiveProperty updateProperty(PrimitiveProperty bandanaContext)
Specified by:
updateProperty in class AbstractBandanaImportPreProcessor

getPropertyNames

protected java.util.List<java.lang.String> getPropertyNames()
Description copied from class: AbstractPrimitivePropertyImportPreProcessor
Provides a list of names of properties that the pre-processor is targeting for processing. There should only be one property in the object for each of the names in the returned list.

Specified by:
getPropertyNames in class AbstractBandanaImportPreProcessor
Returns:
A list of names that the pre-processor should be targeting


Copyright © 2003-2014 Atlassian. All Rights Reserved.