Package hudson.plugins.xcode
Class XcodeInstallation
java.lang.Object
hudson.model.AbstractDescribableImpl<ToolInstallation>
hudson.tools.ToolInstallation
hudson.plugins.xcode.XcodeInstallation
- All Implemented Interfaces:
ExtensionPoint,Describable<ToolInstallation>,EnvironmentSpecific<XcodeInstallation>,NodeSpecific<XcodeInstallation>,Serializable
public class XcodeInstallation
extends ToolInstallation
implements NodeSpecific<XcodeInstallation>, EnvironmentSpecific<XcodeInstallation>
Information about Xcode installation.
- Author:
- Kazuhide Takahashi
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class hudson.tools.ToolInstallation
ToolInstallation.ToolConverterNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Constructor Summary
ConstructorsConstructorDescriptionXcodeInstallation(String name, String home, List<? extends ToolProperty<?>> properties) Constructor for XcodeInstallation. -
Method Summary
Modifier and TypeMethodDescriptionstatic XcodeInstallation[]forEnvironment(EnvVars environment) forNode(Node node, TaskListener log) getXcodebuild.Methods inherited from class hudson.tools.ToolInstallation
all, buildEnvVars, getHome, getName, getProperties, readResolve, toString, translate, translate, translateFor, writeReplace
-
Constructor Details
-
XcodeInstallation
@DataBoundConstructor public XcodeInstallation(String name, String home, List<? extends ToolProperty<?>> properties) Constructor for XcodeInstallation.- Parameters:
name- Tool name (for example, "Xcode 9.3")home- Tool location (usually "/Applications/Xcode.app/Contents/Developer")properties-Listof properties for this tool
-
-
Method Details
-
allInstallations
-
getXcodebuild
getXcodebuild.- Returns:
Stringthat will be used to execute xcodebuild (e.g. "/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild")
-
forNode
public XcodeInstallation forNode(Node node, TaskListener log) throws IOException, InterruptedException - Specified by:
forNodein interfaceNodeSpecific<XcodeInstallation>- Throws:
IOExceptionInterruptedException
-
forEnvironment
- Specified by:
forEnvironmentin interfaceEnvironmentSpecific<XcodeInstallation>
-
getDescriptor
- Specified by:
getDescriptorin interfaceDescribable<ToolInstallation>- Overrides:
getDescriptorin classAbstractDescribableImpl<ToolInstallation>
-