X-Git-Url: http://git.argeo.org/?a=blobdiff_plain;f=org.argeo.slc.repo%2Fsrc%2Forg%2Feclipse%2Faether%2Fgraph%2FDependencyVisitor.java;fp=org.argeo.slc.repo%2Fsrc%2Forg%2Feclipse%2Faether%2Fgraph%2FDependencyVisitor.java;h=0000000000000000000000000000000000000000;hb=ecc22e604e47533c79de9cecdcdeacbc752cbff1;hp=d4ba2135b6fca6d11fbe467fc82785e72ba46de7;hpb=e07ded4632e53f8b8869763bc1f1f4091361e76e;p=gpl%2Fargeo-slc.git diff --git a/org.argeo.slc.repo/src/org/eclipse/aether/graph/DependencyVisitor.java b/org.argeo.slc.repo/src/org/eclipse/aether/graph/DependencyVisitor.java deleted file mode 100644 index d4ba2135b..000000000 --- a/org.argeo.slc.repo/src/org/eclipse/aether/graph/DependencyVisitor.java +++ /dev/null @@ -1,38 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2010, 2011 Sonatype, Inc. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Sonatype, Inc. - initial API and implementation - *******************************************************************************/ -package org.eclipse.aether.graph; - -/** - * A visitor for nodes of the dependency graph. - * - * @see DependencyNode#accept(DependencyVisitor) - */ -public interface DependencyVisitor -{ - - /** - * Notifies the visitor of a node visit before its children have been processed. - * - * @param node The dependency node being visited, must not be {@code null}. - * @return {@code true} to visit child nodes of the specified node as well, {@code false} to skip children. - */ - boolean visitEnter( DependencyNode node ); - - /** - * Notifies the visitor of a node visit after its children have been processed. Note that this method is always - * invoked regardless whether any children have actually been visited. - * - * @param node The dependency node being visited, must not be {@code null}. - * @return {@code true} to visit siblings nodes of the specified node as well, {@code false} to skip siblings. - */ - boolean visitLeave( DependencyNode node ); - -}