|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.studio.confluence.importexport.ValidateScopeSpaceImportPreProcessor
public class ValidateScopeSpaceImportPreProcessor
Checks the data we import is in the scope of the space.
Constructor Summary | |
---|---|
ValidateScopeSpaceImportPreProcessor(java.lang.String newKey)
|
Method Summary | |
---|---|
boolean |
handles(ImportedObject object)
|
ImportedObject |
process(ImportedObject object)
Takes an ImportedObject and returns a new, processed ImportedObject, or null if the ImportedObject should be skipped. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ValidateScopeSpaceImportPreProcessor(java.lang.String newKey)
Method Detail |
---|
public boolean handles(ImportedObject object)
handles
in interface ImportedObjectPreProcessor
object
- The object to be processed
true
if this preprocessor should be applied to the object, otherwise false
.public ImportedObject process(ImportedObject object)
ImportedObjectPreProcessor
ImportedObjectPreProcessor.handles(ImportedObject)
returns true
process
in interface ImportedObjectPreProcessor
object
- The object that needs to be processed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |