public class LaunchChecker extends Object
Constructor and Description |
---|
LaunchChecker(org.eclipse.debug.core.ILaunchConfiguration launchConfiguration)
Creates a checker for the given
launchConfiguration . |
Modifier and Type | Method and Description |
---|---|
void |
checkForLaunchConfigurationError()
Checks whether the launch configuration contains an error that could be configured
on
LaunchConfigurationTab . |
void |
checkForProjectError()
Checks whether the launch configuration contains an error that could be configured
on
ProjectTab . |
void |
checkForTimeoutError()
Checks whether the launch configuration contains an error that could be configured
on
TimeoutTab . |
String |
getErrorMessage()
A message describing a found error.
|
boolean |
hasError()
Whether an error was detected while checking.
|
public LaunchChecker(org.eclipse.debug.core.ILaunchConfiguration launchConfiguration)
launchConfiguration
.launchConfiguration
- The configuration to check.public void checkForProjectError()
ProjectTab
. The results can be obtained through hasError()
and
getErrorMessage()
.public void checkForTimeoutError()
TimeoutTab
. The results can be obtained through hasError()
and
getErrorMessage()
.public void checkForLaunchConfigurationError()
LaunchConfigurationTab
. The results can be obtained through
hasError()
and getErrorMessage()
.public boolean hasError()
true
iff an error was found.public String getErrorMessage()
null
iff
hasError()
returns true
.