public InstallableResource convertNode()

in src/main/java/org/apache/sling/installer/provider/jcr/impl/ConfigNodeConverter.java [52:66]


	public InstallableResource convertNode(final Node n,
	        final int priority)
	throws RepositoryException {
		InstallableResource result = null;

		// We only consider CONFIG_NODE_TYPE nodes
		if(n.isNodeType(CONFIG_NODE_TYPE)) {
		    final Dictionary<String, Object> dict = load(n);
			result = new InstallableResource(n.getPath(), null, dict, computeDigest(dict), null, priority);
			log.debug("Converted node {} to {}", n.getPath(), result);
		} else {
			log.debug("Node is not a {} node, ignored:{}", CONFIG_NODE_TYPE, n.getPath());
		}
		return result;
	}