com.atlassian.studio.confluence.importexport
Class PermissionsImportPreProcessor
java.lang.Object
com.atlassian.studio.confluence.importexport.AbstractPrimitivePropertyImportPreProcessor
com.atlassian.studio.confluence.importexport.PermissionsImportPreProcessor
- All Implemented Interfaces:
- ImportedObjectPreProcessor
public class PermissionsImportPreProcessor
- extends AbstractPrimitivePropertyImportPreProcessor
Processes a permission import object, takes a group mapping to apply to any groups
encountered during the import.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PermissionsImportPreProcessor
public PermissionsImportPreProcessor(Map<String,String> groupMapping)
updateProperty
protected PrimitiveProperty updateProperty(PrimitiveProperty permission)
- Specified by:
updateProperty in class AbstractPrimitivePropertyImportPreProcessor
handles
public boolean handles(ImportedObject importedObject)
- Specified by:
handles in interface ImportedObjectPreProcessor- Specified by:
handles in class AbstractPrimitivePropertyImportPreProcessor
- Parameters:
importedObject - The object to be processed
- Returns:
true if this preprocessor should be applied to the object, otherwise false.
getPropertyNames
protected List<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 AbstractPrimitivePropertyImportPreProcessor
- Returns:
- A list of names that the pre-processor should be targeting
Copyright © 2003–2015 Atlassian. All rights reserved.