|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PackagerFactory
Create a Packager instance for a given container.
| Method Summary | |
|---|---|
org.codehaus.cargo.container.packager.Packager |
createPackager(java.lang.String containerId,
org.codehaus.cargo.container.packager.PackagerType packagerType,
java.lang.String outputLocation)
Create a Packager instance matching the
specified container id. |
boolean |
isPackagerRegistered(java.lang.String containerId,
org.codehaus.cargo.container.packager.PackagerType packagerType)
|
void |
registerPackager(java.lang.String containerId,
org.codehaus.cargo.container.packager.PackagerType packagerType,
java.lang.Class packagerClass)
Registers a Packager implementation. |
| Method Detail |
|---|
void registerPackager(java.lang.String containerId,
org.codehaus.cargo.container.packager.PackagerType packagerType,
java.lang.Class packagerClass)
Packager implementation.
containerId - the container attached to this packagerpackagerType - the packager's type (directory, zip, etc)packagerClass - the packager implementation class to register
boolean isPackagerRegistered(java.lang.String containerId,
org.codehaus.cargo.container.packager.PackagerType packagerType)
containerId - the container attached to this packager classpackagerType - the type to differentiate this packager from others for the specified
container
org.codehaus.cargo.container.packager.Packager createPackager(java.lang.String containerId,
org.codehaus.cargo.container.packager.PackagerType packagerType,
java.lang.String outputLocation)
Packager instance matching the
specified container id.
containerId - the container for which we need to create a packager instancepackagerType - the packager's type (directory, zip, etc)outputLocation - the location where the package will be generated. For example for
a Directory Packager this will be the directory into which the package will be
generated.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||