mcconnell 2002/12/16 20:53:09
Modified: assembly/src/java/org/apache/avalon/assembly/appliance
DependencyGraph.java
Log:
Added appliance removal operation.
Revision Changes Path
1.2 +11 -1
avalon-sandbox/assembly/src/java/org/apache/avalon/assembly/appliance/DependencyGraph.java
Index: DependencyGraph.java
===================================================================
RCS file:
/home/cvs/avalon-sandbox/assembly/src/java/org/apache/avalon/assembly/appliance/DependencyGraph.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- DependencyGraph.java 29 Nov 2002 13:17:16 -0000 1.1
+++ DependencyGraph.java 17 Dec 2002 04:53:09 -0000 1.2
@@ -146,6 +146,16 @@
}
/**
+ * Remove an appliance from the dependency graph.
+ *
+ * @param appliance the appliance
+ */
+ public void remove( final Appliance appliance )
+ {
+ m_appliances.remove( appliance );
+ }
+
+ /**
* Get the serilized graph of {@link Appliance} objects
* required when starting up all the target. This makes sure
* that all providers are established before their coresponding
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>