public class ApplicationLifecycle.DeploymentContextBuidlerImpl extends Object implements Deployment.DeploymentContextBuilder
Constructor and Description |
---|
DeploymentContextBuidlerImpl(Deployment.DeploymentContextBuilder b) |
DeploymentContextBuidlerImpl(Logger logger,
OpsParams params,
ActionReport report) |
Modifier and Type | Method and Description |
---|---|
ArchiveHandler |
archiveHandler() |
Deployment.DeploymentContextBuilder |
archiveHandler(ArchiveHandler handler) |
ExtendedDeploymentContext |
build() |
ExtendedDeploymentContext |
build(ExtendedDeploymentContext initialContext) |
Logger |
logger() |
OpsParams |
params() |
ActionReport |
report() |
Deployment.DeploymentContextBuilder |
source(File source) |
Deployment.DeploymentContextBuilder |
source(ReadableArchive archive) |
ReadableArchive |
sourceAsArchive() |
File |
sourceAsFile() |
public DeploymentContextBuidlerImpl(Logger logger, OpsParams params, ActionReport report)
public DeploymentContextBuidlerImpl(Deployment.DeploymentContextBuilder b) throws IOException
IOException
public Deployment.DeploymentContextBuilder source(File source)
source
in interface Deployment.DeploymentContextBuilder
public File sourceAsFile()
sourceAsFile
in interface Deployment.DeploymentContextBuilder
public ReadableArchive sourceAsArchive()
sourceAsArchive
in interface Deployment.DeploymentContextBuilder
public ArchiveHandler archiveHandler()
archiveHandler
in interface Deployment.DeploymentContextBuilder
public Deployment.DeploymentContextBuilder source(ReadableArchive archive)
source
in interface Deployment.DeploymentContextBuilder
public Deployment.DeploymentContextBuilder archiveHandler(ArchiveHandler handler)
archiveHandler
in interface Deployment.DeploymentContextBuilder
public ExtendedDeploymentContext build() throws IOException
build
in interface Deployment.DeploymentContextBuilder
IOException
public Logger logger()
logger
in interface Deployment.DeploymentContextBuilder
public ActionReport report()
report
in interface Deployment.DeploymentContextBuilder
public OpsParams params()
params
in interface Deployment.DeploymentContextBuilder
public ExtendedDeploymentContext build(ExtendedDeploymentContext initialContext) throws IOException
build
in interface Deployment.DeploymentContextBuilder
IOException
Copyright © 2020. All rights reserved.