com.nirima.jenkins.repo.build
Class DirectoryRepositoryItem

java.lang.Object
  extended by com.nirima.jenkins.repo.AbstractRepositoryElement<java.lang.String>
      extended by com.nirima.jenkins.repo.build.DirectoryRepositoryItem
All Implemented Interfaces:
RepositoryDirectory, RepositoryElement

public class DirectoryRepositoryItem
extends AbstractRepositoryElement<java.lang.String>
implements RepositoryDirectory

Represent a directory


Field Summary
 
Fields inherited from class com.nirima.jenkins.repo.AbstractRepositoryElement
item, parent
 
Constructor Summary
protected DirectoryRepositoryItem(RepositoryElement parent, java.lang.String item)
           
 
Method Summary
protected  RepositoryElement add(RepositoryElement dirElement)
           
 RepositoryElement getChild(java.lang.String element)
           
 java.util.Collection<? extends RepositoryElement> getChildren()
           
 java.lang.String getName()
           
 void insert(java.io.File f, java.lang.String path)
           
 
Methods inherited from class com.nirima.jenkins.repo.AbstractRepositoryElement
getParent, getPath
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.nirima.jenkins.repo.RepositoryElement
getParent, getPath
 

Constructor Detail

DirectoryRepositoryItem

protected DirectoryRepositoryItem(RepositoryElement parent,
                                  java.lang.String item)
Method Detail

getName

public java.lang.String getName()
Specified by:
getName in interface RepositoryElement
Specified by:
getName in class AbstractRepositoryElement<java.lang.String>

getChildren

public java.util.Collection<? extends RepositoryElement> getChildren()
Specified by:
getChildren in interface RepositoryDirectory

insert

public void insert(java.io.File f,
                   java.lang.String path)

add

protected RepositoryElement add(RepositoryElement dirElement)

getChild

public RepositoryElement getChild(java.lang.String element)
Specified by:
getChild in interface RepositoryDirectory


Copyright © 2004-2011. All Rights Reserved.