org.apache.ace.deployment.streamgenerator.impl
Class StreamGeneratorImpl
java.lang.Object
org.apache.ace.deployment.streamgenerator.impl.StreamGeneratorImpl
- All Implemented Interfaces:
- StreamGenerator
public class StreamGeneratorImpl
- extends Object
- implements StreamGenerator
Stream generator for deployment packages. Communicates with a data provider to get the meta data for the streams. Part of the
meta
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StreamGeneratorImpl
public StreamGeneratorImpl()
getDeploymentPackage
public InputStream getDeploymentPackage(String id,
String version)
throws IOException
- Returns an input stream with the requested deployment package.
- Specified by:
getDeploymentPackage
in interface StreamGenerator
- 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
public InputStream getDeploymentPackage(String id,
String fromVersion,
String toVersion)
throws IOException
- Returns an input stream with the requested deployment fix package.
- Specified by:
getDeploymentPackage
in interface StreamGenerator
- 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.