public class TomcatShutdownPortType extends PortType
Modifier and Type | Class and Description |
---|---|
static class |
TomcatShutdownPortType.DescriptorImpl |
ExtensionPoint.LegacyInstancesAreScopedToHudson
Constructor and Description |
---|
TomcatShutdownPortType(String name,
String password) |
Modifier and Type | Method and Description |
---|---|
Port |
allocate(AbstractBuild<?,?> build,
PortAllocationManager manager,
int prefPort,
Launcher launcher,
BuildListener buildListener)
Allocates a new port for a given build.
|
TomcatShutdownPortType.DescriptorImpl |
getDescriptor() |
getFixedPort, isFixedPort
public final String password
public Port allocate(AbstractBuild<?,?> build, PortAllocationManager manager, int prefPort, Launcher launcher, BuildListener buildListener) throws IOException, InterruptedException
PortType
allocate
in class PortType
build
- the build that will use the allocated portmanager
- can be used to assign a new TCP port numberprefPort
- port number allocated to this type the last timelauncher
- launcher used to perform operations for the buildbuildListener
- listener that receives information about the buildIOException
InterruptedException
public TomcatShutdownPortType.DescriptorImpl getDescriptor()
getDescriptor
in interface Describable<PortType>
getDescriptor
in class PortType
Copyright © 2016–2023. All rights reserved.