public abstract class ContainerAdapter extends Object implements hudson.model.Describable<ContainerAdapter>, hudson.ExtensionPoint, Serializable
Instances of these objects are persisted in projects' configuration XML via XStream.
Constructor and Description |
---|
ContainerAdapter() |
Modifier and Type | Method and Description |
---|---|
static hudson.DescriptorExtensionList<ContainerAdapter,ContainerAdapterDescriptor> |
all() |
ContainerAdapterDescriptor |
getDescriptor() |
boolean |
redeploy(hudson.FilePath war,
String aContextPath,
hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
Deprecated.
|
void |
redeployFile(hudson.FilePath war,
String aContextPath,
hudson.model.Run<?,?> build,
hudson.Launcher launcher,
hudson.model.TaskListener listener)
Perform redeployment.
|
@Deprecated public boolean redeploy(hudson.FilePath war, String aContextPath, hudson.model.AbstractBuild<?,?> build, hudson.Launcher launcher, hudson.model.BuildListener listener) throws IOException, InterruptedException
IOException
InterruptedException
public void redeployFile(hudson.FilePath war, String aContextPath, hudson.model.Run<?,?> build, hudson.Launcher launcher, hudson.model.TaskListener listener) throws IOException, InterruptedException
redeploy(FilePath, String, AbstractBuild, Launcher, BuildListener)
delegate to that implementation to be usable within Pipeline projectswar
- the path of the war/ear file to deployaContextPath
- the context path for the war to be deployedbuild
- the build that is being deployedlauncher
- the launcher of the buildlistener
- the BuildListener of the build to deployIOException
- if there is an error locating the war fileInterruptedException
- if there is an error deploying to the serverpublic ContainerAdapterDescriptor getDescriptor()
getDescriptor
in interface hudson.model.Describable<ContainerAdapter>
public static hudson.DescriptorExtensionList<ContainerAdapter,ContainerAdapterDescriptor> all()
Copyright © 2016–2020. All rights reserved.