public interface CoSAlternativeExecutorImplementation
This can be useful in cases when we don't need to execute standard run behavior. For example when re-running Maven Web application with enabled CoS/DoS, we don't want to rebuild whole project every-time and simply re-opening index.html is enough.
If the project want to use CoSAlternativeExecutorImplementation
it should register
it in it's project Lookup
.
This class should not be used directly. Use CoSAlternativeExecutor
API class instead.
See issue 230565 for some details about why this was needed in the first place.
CoSAlternativeExecutor
Modifier and Type | Method and Description |
---|---|
boolean |
execute(RunConfig config,
ExecutionContext executionContext)
Perform an alternative execution.
|
boolean execute(@NonNull RunConfig config, @NonNull ExecutionContext executionContext)
SPI client should perform whatever he wants to do instead of the default CoS execution behavior.
config
- configurationexecutionContext
- execution contexttrue
if the execution was successful, false
otherwise