public class XcodeInstallation extends ToolInstallation implements NodeSpecific<XcodeInstallation>, EnvironmentSpecific<XcodeInstallation>
Modifier and Type | Class and Description |
---|---|
static class |
XcodeInstallation.DescriptorImpl |
ToolInstallation.ToolConverter
ExtensionPoint.LegacyInstancesAreScopedToHudson
Constructor and Description |
---|
XcodeInstallation(String name,
String home,
List<? extends ToolProperty<?>> properties)
Constructor for XcodeInstallation.
|
Modifier and Type | Method and Description |
---|---|
static XcodeInstallation[] |
allInstallations() |
XcodeInstallation |
forEnvironment(EnvVars environment) |
XcodeInstallation |
forNode(Node node,
TaskListener log) |
XcodeInstallation.DescriptorImpl |
getDescriptor() |
String |
getXcodebuild()
getXcodebuild.
|
all, buildEnvVars, getHome, getName, getProperties, readResolve, toString, translate, translate, translateFor, writeReplace
@DataBoundConstructor public XcodeInstallation(String name, String home, List<? extends ToolProperty<?>> properties)
name
- Tool name (for example, "Xcode 9.3")home
- Tool location (usually "/Applications/Xcode.app/Contents/Developer")properties
- List
of properties for this toolpublic static XcodeInstallation[] allInstallations()
public String getXcodebuild()
String
that will be used to execute xcodebuild (e.g. "/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild")public XcodeInstallation forNode(Node node, TaskListener log) throws IOException, InterruptedException
forNode
in interface NodeSpecific<XcodeInstallation>
IOException
InterruptedException
public XcodeInstallation forEnvironment(EnvVars environment)
forEnvironment
in interface EnvironmentSpecific<XcodeInstallation>
public XcodeInstallation.DescriptorImpl getDescriptor()
getDescriptor
in interface Describable<ToolInstallation>
getDescriptor
in class AbstractDescribableImpl<ToolInstallation>
Copyright © 2016–2022. All rights reserved.