public abstract class EngineFactory<S extends DeployHost<S,T>,T extends DeployTarget<T>> extends AbstractDescribableImpl<EngineFactory<S,T>>
| Modifier | Constructor and Description |
|---|---|
protected |
EngineFactory(S configuration) |
| Modifier and Type | Method and Description |
|---|---|
abstract Engine<S,T> |
build() |
EngineFactory<S,T> |
from(AbstractBuild<?,?> build,
Collection<DeploySourceOrigin> sources) |
EngineFactory<S,T> |
from(AbstractBuild<?,?> build,
DeploySourceOrigin... sources) |
EngineConfiguration<S,T> |
getConfiguration() |
EngineFactoryDescriptor<S,T> |
getDescriptor() |
EngineFactory<S,T> |
withCredentials(Item scope,
Authentication... authentications) |
EngineFactory<S,T> |
withCredentials(Item scope,
Collection<Authentication> authentications) |
EngineFactory<S,T> |
withLauncher(Launcher launcher) |
EngineFactory<S,T> |
withListener(BuildListener listener) |
protected EngineFactory(@NonNull
S configuration)
public EngineFactoryDescriptor<S,T> getDescriptor()
getDescriptor in interface Describable<EngineFactory<S extends DeployHost<S,T>,T extends DeployTarget<T>>>getDescriptor in class AbstractDescribableImpl<EngineFactory<S extends DeployHost<S,T>,T extends DeployTarget<T>>>@NonNull public EngineFactory<S,T> withCredentials(@Nullable Item scope, Authentication... authentications)
@NonNull public EngineFactory<S,T> withCredentials(@Nullable Item scope, @CheckForNull Collection<Authentication> authentications)
@NonNull public EngineFactory<S,T> from(@NonNull AbstractBuild<?,?> build, DeploySourceOrigin... sources)
@NonNull public EngineFactory<S,T> from(@NonNull AbstractBuild<?,?> build, Collection<DeploySourceOrigin> sources)
@NonNull public EngineFactory<S,T> withListener(@NonNull BuildListener listener)
@NonNull public EngineFactory<S,T> withLauncher(Launcher launcher)
@NonNull public abstract Engine<S,T> build() throws DeployException
DeployExceptionpublic EngineConfiguration<S,T> getConfiguration()
Copyright © 2016–2022. All rights reserved.