com.nirima.jenkins.repo.build
Class FileRepositoryItem

java.lang.Object
  extended by com.nirima.jenkins.repo.AbstractRepositoryElement<java.io.File>
      extended by com.nirima.jenkins.repo.build.FileRepositoryItem
All Implemented Interfaces:
RepositoryContent, RepositoryElement

public class FileRepositoryItem
extends AbstractRepositoryElement<java.io.File>
implements RepositoryContent


Field Summary
protected  java.lang.String name
           
 
Fields inherited from class com.nirima.jenkins.repo.AbstractRepositoryElement
item, parent
 
Constructor Summary
protected FileRepositoryItem(RepositoryElement parent, java.io.File item, java.lang.String name)
           
 
Method Summary
 java.io.InputStream getContent()
           
 java.lang.String getName()
           
 
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
 

Field Detail

name

protected java.lang.String name
Constructor Detail

FileRepositoryItem

protected FileRepositoryItem(RepositoryElement parent,
                             java.io.File item,
                             java.lang.String name)
Method Detail

getName

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

getContent

public java.io.InputStream getContent()
                               throws java.io.FileNotFoundException
Specified by:
getContent in interface RepositoryContent
Throws:
java.io.FileNotFoundException


Copyright © 2004-2011. All Rights Reserved.