com.nirima.jenkins.repo.build
Class DirectoryRepositoryItem
java.lang.Object
com.nirima.jenkins.repo.AbstractRepositoryElement
com.nirima.jenkins.repo.build.DirectoryRepositoryItem
- All Implemented Interfaces:
- RepositoryDirectory, RepositoryElement
- Direct Known Subclasses:
- PopulateOnDemandDirectoryRepositoryItem
public class DirectoryRepositoryItem
- extends AbstractRepositoryElement
- implements RepositoryDirectory
Represent a directory
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
items
protected java.util.Map<java.lang.String,RepositoryElement> items
name
protected java.lang.String name
DirectoryRepositoryItem
public DirectoryRepositoryItem(RepositoryDirectory parent,
java.lang.String name)
getName
public java.lang.String getName()
- Specified by:
getName in interface RepositoryElement- Specified by:
getName in class AbstractRepositoryElement
getItems
protected java.util.Map<java.lang.String,RepositoryElement> getItems()
getChildren
public java.util.Collection<? extends RepositoryElement> getChildren()
- Specified by:
getChildren in interface RepositoryDirectory
insert
public void insert(RepositoryContent content,
java.lang.String path,
boolean allowOverwrite)
add
protected RepositoryElement add(RepositoryElement dirElement,
boolean allowOverwrite)
getChild
public RepositoryElement getChild(java.lang.String element)
- Specified by:
getChild in interface RepositoryDirectory
Copyright © 2004-2011. All Rights Reserved.