public class DomainBundlePackageBuilder extends Object implements PackageBuilder
| Constructor and Description |
|---|
DomainBundlePackageBuilder() |
| Modifier and Type | Method and Description |
|---|---|
void |
createPackage(Path destinationPath)
Creates a package and leaves that in the destinationPath.
|
void |
createPackage(Path originFolderPath,
Path destinationPath)
Creates a mule domain bundle package based on the contents of the origin folder, writing them to the destination jar file.
|
protected DomainBundleArchiver |
getArchiver() |
DomainBundlePackageBuilder |
withApplications(File folder) |
DomainBundlePackageBuilder |
withArchiver(AbstractArchiver archiver) |
DomainBundlePackageBuilder |
withDomain(File folder) |
DomainBundlePackageBuilder |
withMaven(File folder) |
public DomainBundlePackageBuilder withMaven(File folder)
public DomainBundlePackageBuilder withDomain(File folder)
public DomainBundlePackageBuilder withApplications(File folder)
public DomainBundlePackageBuilder withArchiver(AbstractArchiver archiver)
public void createPackage(Path originFolderPath, Path destinationPath) throws org.codehaus.plexus.archiver.ArchiverException, IOException
├── applications
│ ├── mule-app-a-1.0.0-mule-application.jar
│ ├── mule-app-b-1.0.0-mule-application.jar
│ └── mule-app-c-1.0.0-mule-application.jar
├── domain
│ └── mule-domain-a-1.0.0-mule-domain.jar
└── META-INF
└── maven
├── group-id
└── artifact-id
├── pom.xml
└── pom.properties
createPackage in interface PackageBuilderoriginFolderPath - folder containing the source files.destinationPath - location where to leave the final package.org.codehaus.plexus.archiver.ArchiverExceptionIOExceptionpublic void createPackage(Path destinationPath) throws org.codehaus.plexus.archiver.ArchiverException, IOException
PackageBuildercreatePackage in interface PackageBuilderdestinationPath - path where to leave the created package.org.codehaus.plexus.archiver.ArchiverExceptionIOExceptionprotected DomainBundleArchiver getArchiver()
Copyright © 2019 MuleSoft Inc. All rights reserved.