public class ErrorBuildConfiguration extends org.eclipse.core.runtime.PlatformObject implements ICBuildConfiguration, ICBuildConfiguration2
| Modifier and Type | Field and Description |
|---|---|
static String |
NAME |
static org.eclipse.cdt.core.build.ErrorBuildConfiguration.Provider |
PROVIDER |
DEFAULT_NAME, TOOLCHAIN_ID, TOOLCHAIN_TYPE| Constructor and Description |
|---|
ErrorBuildConfiguration(org.eclipse.core.resources.IBuildConfiguration config,
String errorMessage) |
| 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.
|
String |
getBinaryParserId()
Ids for the Binary Parsers to use when checking whether a file is a
binary that can be launched.
|
org.eclipse.core.resources.IBuildConfiguration |
getBuildConfiguration()
Returns the resources build configuration that this CDT build configuration
is associated with.
|
URI |
getBuildDirectoryURI()
The URI for the directory in which the build is executed.
|
IScannerInfo |
getScannerInformation(org.eclipse.core.resources.IResource resource)
The receiver will answer the current state of the build information for the
resource specified in the argument.
|
IToolChain |
getToolChain()
Build Configurations are configurations for a given toolchain.
|
IEnvironmentVariable |
getVariable(String name)
Return a build environment variable with a given name.
|
IEnvironmentVariable[] |
getVariables()
Return all of the build environment variables for this configuration.
|
void |
setActive()
Mark the Build Configuration as active
|
void |
setErrorMessage(String errorMessage) |
void |
subscribe(org.eclipse.core.resources.IResource resource,
IScannerInfoChangeListener listener)
The receiver will register the listener specified in the argument
to receive change notifications when the information for the
IResource it is responsible for changes. |
void |
unsubscribe(org.eclipse.core.resources.IResource resource,
IScannerInfoChangeListener listener)
The receiver will no longer notify the listener specified in
the argument when information about the reource it is responsible
for changes.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBuildOutput, getDefaultProperties, getLaunchMode, getProperties, getProperty, removeProperty, setBuildEnvironment, setProperties, setProperty, supportsPropertiespublic static final String NAME
public static final org.eclipse.cdt.core.build.ErrorBuildConfiguration.Provider PROVIDER
public ErrorBuildConfiguration(org.eclipse.core.resources.IBuildConfiguration config,
String errorMessage)
public void setErrorMessage(String errorMessage)
public 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
ICBuildConfigurationbuild in interface 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
ICBuildConfigurationclean in interface ICBuildConfigurationconsole - console to show clean outputmonitor - progress monitororg.eclipse.core.runtime.CoreExceptionpublic IScannerInfo getScannerInformation(org.eclipse.core.resources.IResource resource)
IScannerInfoProvidergetScannerInformation in interface IScannerInfoProviderpublic void subscribe(org.eclipse.core.resources.IResource resource,
IScannerInfoChangeListener listener)
IScannerInfoProviderIResource it is responsible for changes.subscribe in interface IScannerInfoProviderpublic void unsubscribe(org.eclipse.core.resources.IResource resource,
IScannerInfoChangeListener listener)
IScannerInfoProviderunsubscribe in interface IScannerInfoProviderpublic void setActive()
ICBuildConfiguration2setActive in interface ICBuildConfiguration2public URI getBuildDirectoryURI() throws org.eclipse.core.runtime.CoreException
ICBuildConfiguration2getBuildDirectoryURI in interface ICBuildConfiguration2org.eclipse.core.runtime.CoreExceptionpublic org.eclipse.core.resources.IBuildConfiguration getBuildConfiguration()
throws org.eclipse.core.runtime.CoreException
ICBuildConfigurationgetBuildConfiguration in interface ICBuildConfigurationorg.eclipse.core.runtime.CoreExceptionpublic IToolChain getToolChain() throws org.eclipse.core.runtime.CoreException
ICBuildConfigurationgetToolChain in interface ICBuildConfigurationorg.eclipse.core.runtime.CoreExceptionpublic String getBinaryParserId() throws org.eclipse.core.runtime.CoreException
ICBuildConfigurationgetBinaryParserId in interface ICBuildConfigurationorg.eclipse.core.runtime.CoreExceptionpublic IEnvironmentVariable getVariable(String name) throws org.eclipse.core.runtime.CoreException
ICBuildConfigurationgetVariable in interface ICBuildConfigurationname - build environment variable nameorg.eclipse.core.runtime.CoreExceptionpublic IEnvironmentVariable[] getVariables() throws org.eclipse.core.runtime.CoreException
ICBuildConfigurationgetVariables in interface ICBuildConfigurationorg.eclipse.core.runtime.CoreExceptionCopyright (c) IBM Corp. and others 2004, 2020. All Rights Reserved.