Class FailedBootstrap
java.lang.Object
org.sonarsource.scanner.lib.internal.FailedBootstrap
- All Implemented Interfaces:
AutoCloseable,ScannerEngineBootstrapResult
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Get the facade to interact with the engine.booleanAllow to test if the bootstrapping has been successful.
-
Constructor Details
-
FailedBootstrap
public FailedBootstrap()
-
-
Method Details
-
isSuccessful
public boolean isSuccessful()Description copied from interface:ScannerEngineBootstrapResultAllow to test if the bootstrapping has been successful. If not, theScannerEngineFacadeshould not be used. A log message should have been emitted in case of failure.- Specified by:
isSuccessfulin interfaceScannerEngineBootstrapResult- Returns:
- true if the bootstrapping has been successful, false otherwise
-
getEngineFacade
Description copied from interface:ScannerEngineBootstrapResultGet the facade to interact with the engine. Only call this method ifScannerEngineBootstrapResult.isSuccessful()returns true.- Specified by:
getEngineFacadein interfaceScannerEngineBootstrapResult- Returns:
- the facade to interact with the engine
-
close
public void close()- Specified by:
closein interfaceAutoCloseable
-