org.kite9.framework.repository
Interface Repository

All Known Implementing Classes:
BasicFileRepository

public interface Repository

Provides local, location-independent way of storing and retrieving the artifacts generated for design items. The repository is expected to remain unchanged by external agents for the lifetime of the build runner process.

Author:
moffatr

Method Summary
 void clear(String subjectId, String name)
           
 InputStream retrieve(String subjectId, String name, String type)
           
 OutputStream store(String subjectId, String name, String type)
           
 

Method Detail

store

OutputStream store(String subjectId,
                   String name,
                   String type)
                   throws IOException
Throws:
IOException

retrieve

InputStream retrieve(String subjectId,
                     String name,
                     String type)
                     throws IOException
Throws:
IOException

clear

void clear(String subjectId,
           String name)
           throws IOException
Throws:
IOException


Copyright © 2011. All Rights Reserved.