public class DotCoverInstallation extends ToolInstallation implements NodeSpecific<DotCoverInstallation>, EnvironmentSpecific<DotCoverInstallation>
Modifier and Type | Class and Description |
---|---|
static class |
DotCoverInstallation.DescriptorImpl |
ToolInstallation.ToolConverter
ExtensionPoint.LegacyInstancesAreScopedToHudson
Modifier and Type | Field and Description |
---|---|
static String |
DOTCOVERTOOL_DEFAULT_NAME |
static String |
WINDOWS_BINARY_NAME |
Constructor and Description |
---|
DotCoverInstallation(String name,
String home,
List<? extends ToolProperty<?>> properties)
Default constructor invoked by jenkins.
|
Modifier and Type | Method and Description |
---|---|
DotCoverInstallation |
forEnvironment(EnvVars environment) |
DotCoverInstallation |
forNode(Node node,
TaskListener log)
Finds the DotCover tool installation for the given node.
|
static DotCoverInstallation |
getDefaultInstallation() |
DotCoverInstallation.DescriptorImpl |
getDescriptor() |
static void |
onLoaded()
This method is run every time Jenkins is started.
|
all, buildEnvVars, getHome, getName, getProperties, readResolve, toString, translate, translate, translateFor
public static final String DOTCOVERTOOL_DEFAULT_NAME
public static final String WINDOWS_BINARY_NAME
@DataBoundConstructor public DotCoverInstallation(String name, String home, List<? extends ToolProperty<?>> properties)
name
- The name of the installation.home
- The home directoryproperties
- tool properties.@Initializer(after=EXTENSIONS_AUGMENTED) public static void onLoaded()
public static DotCoverInstallation getDefaultInstallation()
public DotCoverInstallation.DescriptorImpl getDescriptor()
getDescriptor
in interface Describable<ToolInstallation>
getDescriptor
in class AbstractDescribableImpl<ToolInstallation>
public DotCoverInstallation forNode(@Nonnull Node node, TaskListener log) throws IOException, InterruptedException
forNode
in interface NodeSpecific<DotCoverInstallation>
node
- The node to find the tool installation for.log
- The instance of the tasklistener to use for logging.IOException
- If an IOException occurs.InterruptedException
- If an InterruptedException occurs.public DotCoverInstallation forEnvironment(EnvVars environment)
forEnvironment
in interface EnvironmentSpecific<DotCoverInstallation>
Copyright © 2016–2019. All rights reserved.