de.matthias_burbach.deputy.core.repository
Class Repository

java.lang.Object
  extended byjavax.swing.tree.DefaultMutableTreeNode
      extended byde.matthias_burbach.deputy.core.repository.Repository
All Implemented Interfaces:
java.lang.Cloneable, javax.swing.tree.MutableTreeNode, java.io.Serializable, javax.swing.tree.TreeNode

public class Repository
extends javax.swing.tree.DefaultMutableTreeNode

Is a repository node in the repositories tree.

Author:
Matthias Burbach
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
 
Constructor Summary
Repository(RepositoryConfig repositoryConfig)
           
 
Method Summary
 RepositoryArtifactVersion findVersionNode(java.lang.String groupId, java.lang.String artifactId, java.lang.String version)
           
 java.lang.String toString()
          
 
Methods inherited from class javax.swing.tree.DefaultMutableTreeNode
add, breadthFirstEnumeration, children, clone, depthFirstEnumeration, getAllowsChildren, getChildAfter, getChildAt, getChildBefore, getChildCount, getDepth, getFirstChild, getFirstLeaf, getIndex, getLastChild, getLastLeaf, getLeafCount, getLevel, getNextLeaf, getNextNode, getNextSibling, getParent, getPath, getPathToRoot, getPreviousLeaf, getPreviousNode, getPreviousSibling, getRoot, getSharedAncestor, getSiblingCount, getUserObject, getUserObjectPath, insert, isLeaf, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, setUserObject
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Repository

public Repository(RepositoryConfig repositoryConfig)
Parameters:
repositoryConfig - The config info for the repository to construct.
Method Detail

toString

public java.lang.String toString()


findVersionNode

public RepositoryArtifactVersion findVersionNode(java.lang.String groupId,
                                                 java.lang.String artifactId,
                                                 java.lang.String version)
Parameters:
groupId - The group id of the artifact to find the node for.
artifactId - The artifact id to find the node for.
version - The version of the artifact to find the node for.
Returns:
The node in this repository tree representing the versioned artifact passed in.


Copyright © 2005-2007 . All Rights Reserved.