org.apache.ace.deployment.streamgenerator
Interface StreamGenerator
- All Known Implementing Classes:
- StreamGeneratorImpl
public interface StreamGenerator
getDeploymentPackage
InputStream getDeploymentPackage(String id,
String version)
throws IOException
- Returns an input stream with the requested deployment package.
- Parameters:
id
- the ID of the packageversion
- the version of the package
- Returns:
- an input stream
- Throws:
IOException
- when the stream could not be generated
getDeploymentPackage
InputStream getDeploymentPackage(String id,
String fromVersion,
String toVersion)
throws IOException
- Returns an input stream with the requested deployment fix package.
- Parameters:
id
- the ID of the package.fromVersion
- the version of the target.toVersion
- the version the target should be in after applying the package.
- Returns:
- an input stream.
- Throws:
IOException
- when the stream could not be generated.
Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.