public class StandardBuildConfiguration extends CBuildConfiguration
| Modifier and Type | Field and Description |
|---|---|
static String |
BUILD_COMMAND |
static String |
BUILD_CONTAINER |
static String |
CLEAN_COMMAND |
DEFAULT_NAME, TOOLCHAIN_ID, TOOLCHAIN_TYPESEVERITY_ERROR_BUILD, SEVERITY_ERROR_RESOURCE, SEVERITY_INFO, SEVERITY_WARNING| Constructor and Description |
|---|
StandardBuildConfiguration(org.eclipse.core.resources.IBuildConfiguration config,
String name) |
StandardBuildConfiguration(org.eclipse.core.resources.IBuildConfiguration config,
String name,
IToolChain toolChain,
String launchMode) |
| Modifier and Type | Method and Description |
|---|---|
org.eclipse.core.resources.IProject[] |
build(int kind,
Map<String,String> args,
IConsole console,
org.eclipse.core.runtime.IProgressMonitor monitor)
Perform the build.
|
void |
clean(IConsole console,
org.eclipse.core.runtime.IProgressMonitor monitor)
Perform clean.
|
org.eclipse.core.resources.IContainer |
getBuildContainer() |
org.eclipse.core.resources.IContainer |
getDefaultBuildContainer() |
String |
getProperty(String name)
Return the named property.
|
IEnvironmentVariable[] |
getVariables()
Return all of the build environment variables for this configuration.
|
void |
setBuildCommand(String[] buildCommand) |
void |
setBuildContainer(org.eclipse.core.resources.IContainer buildContainer) |
void |
setCleanCommand(String[] cleanCommand) |
boolean |
setProperties(Map<String,String> properties)
Set the properties for this build configuration.
|
addMarker, addMarker, elementChanged, findCommand, getBinaryParserId, getBuildConfiguration, getBuildDirectory, getBuildDirectoryURI, getBuildOutput, getCommandFromPath, getDefaultProperties, getLaunchMode, getName, getProject, getProperties, getScannerInfoCache, getScannerInformation, getSettings, getToolChain, getVariable, loadScannerInfoCache, processLine, processLine, refreshScannerInfo, removeProperty, saveScannerInfoCache, setActive, setActive, setBuildEnvironment, setLaunchMode, setProperty, shutdown, startBuildProcess, subscribe, unsubscribe, watchProcess, watchProcess, watchProcessclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsupportsPropertiespublic static final String BUILD_CONTAINER
public static final String BUILD_COMMAND
public static final String CLEAN_COMMAND
public StandardBuildConfiguration(org.eclipse.core.resources.IBuildConfiguration config,
String name)
throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreExceptionpublic StandardBuildConfiguration(org.eclipse.core.resources.IBuildConfiguration config,
String name,
IToolChain toolChain,
String launchMode)
throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreExceptionpublic IEnvironmentVariable[] getVariables()
ICBuildConfigurationgetVariables in interface ICBuildConfigurationgetVariables in class CBuildConfigurationpublic void setBuildContainer(org.eclipse.core.resources.IContainer buildContainer)
public void setBuildCommand(String[] buildCommand)
public void setCleanCommand(String[] cleanCommand)
public org.eclipse.core.resources.IContainer getBuildContainer()
throws org.eclipse.core.runtime.CoreException
getBuildContainer in class CBuildConfigurationorg.eclipse.core.runtime.CoreExceptionpublic org.eclipse.core.resources.IContainer getDefaultBuildContainer()
throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreExceptionpublic String getProperty(String name)
ICBuildConfigurationgetProperty in interface ICBuildConfigurationgetProperty in class CBuildConfigurationname - the name of the propertypublic boolean setProperties(Map<String,String> properties)
ICBuildConfigurationsetProperties in interface ICBuildConfigurationsetProperties in class CBuildConfigurationproperties - build propertiespublic org.eclipse.core.resources.IProject[] build(int kind,
Map<String,String> args,
IConsole console,
org.eclipse.core.runtime.IProgressMonitor monitor)
throws org.eclipse.core.runtime.CoreException
ICBuildConfigurationkind - build typeargs - build argumentsconsole - console to show build outputmonitor - progress monitornull if noneorg.eclipse.core.runtime.CoreExceptionpublic void clean(IConsole console, org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException
ICBuildConfigurationconsole - console to show clean outputmonitor - progress monitororg.eclipse.core.runtime.CoreExceptionCopyright (c) IBM Corp. and others 2004, 2020. All Rights Reserved.