public class DomainFileBuilder extends AbstractArtifactFileBuilder<DomainFileBuilder>
corrupted, resources
Constructor and Description |
---|
DomainFileBuilder(DomainFileBuilder source)
Creates a new builder from another instance.
|
DomainFileBuilder(String id)
Creates a new builder
|
DomainFileBuilder(String id,
DomainFileBuilder source)
Create a new builder from another instance and different ID.
|
Modifier and Type | Method and Description |
---|---|
DomainFileBuilder |
containing(ApplicationFileBuilder appFileBuilder)
Adds an application to the domain.
|
DomainFileBuilder |
definedBy(String configFile)
Sets the configuration file used for the domain.
|
DomainFileBuilder |
deployedWith(String propertyName,
String propertyValue)
Adds a property into the domain deployment properties file.
|
String |
getConfigFile() |
protected List<ZipUtils.ZipResource> |
getCustomResources() |
protected DomainFileBuilder |
getThis() |
checkImmutable, corrupted, createPropertiesFile, createPropertiesFile, getArtifactFile, getDeployedPath, getId, getTempFolder, getZipPath, usingLibrary
public DomainFileBuilder(String id)
id
- artifact identifier. Non empty.public DomainFileBuilder(DomainFileBuilder source)
source
- instance used as template to build the new one. Non null.public DomainFileBuilder(String id, DomainFileBuilder source)
id
- artifact identifier. Non empty.source
- instance used as template to build the new one. Non null.protected DomainFileBuilder getThis()
getThis
in class AbstractArtifactFileBuilder<DomainFileBuilder>
public DomainFileBuilder definedBy(String configFile)
configFile
- domain configuration from a external file or test resource. Non empty.public DomainFileBuilder containing(ApplicationFileBuilder appFileBuilder)
appFileBuilder
- builder defining the application. Non null.public DomainFileBuilder deployedWith(String propertyName, String propertyValue)
propertyName
- name fo the property to add. Non emptypropertyValue
- value of the property to add. Non null.protected List<ZipUtils.ZipResource> getCustomResources() throws Exception
getCustomResources
in class AbstractArtifactFileBuilder<DomainFileBuilder>
Exception
public String getConfigFile()
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.