public interface ProtectedPropertyImporter extends ProtectedItemImporter
ProtectedPropertyImporteris in charge of importing single properties with a protected
|Modifier and Type||Method and Description|
Handles a single protected property.
Informs this importer that all properties to be imported below
boolean handlePropInfo(@Nonnull Tree parent, @Nonnull PropInfo protectedPropInfo, @Nonnull PropertyDefinition def) throws RepositoryException
parent- The affected parent node.
PropInfoto be imported.
def- The property definition determined by the importer that calls this method.
trueIf the property could be successfully imported;
RepositoryException- If an error occurs.
void propertiesCompleted(@Nonnull Tree protectedParent) throws IllegalStateException, ConstraintViolationException, RepositoryException
protectedParenthave been processed by the importer. If this importer did not import any protected properties this method doesn't do anything. Otherwise it may perform some validation and cleanup required based on the set of protected properties handled by this importer.
protectedParent- The protected parent tree.
IllegalStateException- If this method is called in an illegal state.
ConstraintViolationException- If the set of properties was incomplete and the importer was not able to fix the problem.
RepositoryException- If another error occurs.
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.