Package org.nuxeo.runtime.model
Interface StreamRef
- All Known Subinterfaces:
Contribution
- All Known Implementing Classes:
AbstractContribution
,ContributionBuilder
,ContributionFile
,ContributionLocation
,InlineRef
,URLStreamRef
public interface StreamRef
A named stream used to be able to deploy new components without referring to them via URLs.
- Author:
- Bogdan Stefanescu
-
Method Summary
-
Method Details
-
getId
String getId()Get an unique identifier for this stream. -
getStream
Get the stream content.- Throws:
IOException
-
asURL
URL asURL()Get an URL to that stream. May return null if no URL is available.
-