public abstract class Engine<S extends DeployHost<S,T>,T extends DeployTarget<T>> extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Engine.FingerprintingWrapper |
Modifier and Type | Field and Description |
---|---|
protected AbstractBuild<?,?> |
build |
protected List<Authentication> |
deployAuthentications |
protected Item |
deployScope |
protected Launcher |
launcher |
protected BuildListener |
listener |
protected S |
set |
protected Set<DeploySourceOrigin> |
sources |
Modifier | Constructor and Description |
---|---|
protected |
Engine(EngineConfiguration<S,T> config) |
Modifier and Type | Method and Description |
---|---|
static EngineFactory<?,?> |
create(DeployHost<?,?> configuration) |
abstract DeployEvent |
createEvent(T target) |
void |
log(String message) |
abstract void |
logDetails() |
protected abstract FilePath.FileCallable<DeployedApplicationLocation> |
newDeployActor(T target) |
boolean |
perform() |
DeployedApplicationLocation |
process(FilePath applicationFile,
T target) |
DeployedApplicationLocation |
process(File applicationFile,
T target) |
abstract void |
validate(File applicationFile) |
abstract void |
validate(FilePath applicationFile) |
protected final Item deployScope
protected final List<Authentication> deployAuthentications
protected final AbstractBuild<?,?> build
protected final S extends DeployHost<S,T> set
protected final Launcher launcher
protected final BuildListener listener
protected final Set<DeploySourceOrigin> sources
protected Engine(EngineConfiguration<S,T> config)
public abstract void validate(FilePath applicationFile) throws DeployException
DeployException
public abstract void validate(File applicationFile) throws DeployException
DeployException
@CheckForNull public DeployedApplicationLocation process(FilePath applicationFile, T target) throws DeployException
DeployException
@CheckForNull public DeployedApplicationLocation process(File applicationFile, T target) throws DeployException
DeployException
protected abstract FilePath.FileCallable<DeployedApplicationLocation> newDeployActor(T target) throws DeployException
DeployException
public abstract DeployEvent createEvent(T target) throws DeployException
DeployException
public abstract void logDetails()
public void log(String message)
public static EngineFactory<?,?> create(DeployHost<?,?> configuration) throws DeployException
DeployException
Copyright © 2016–2022. All rights reserved.