Package org.seedstack.seed.testing
Annotation Type LaunchWith
-
@Target(TYPE) @Retention(RUNTIME) @Documented @Inherited public @interface LaunchWith
This annotation can be used to specify theSeedLauncherused to launch the tested application. It can also alter the launch mode.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description LaunchModemodeThe launch mode of the tested application.booleanseparateThreadIf the launch should occur in a separate thread.Class<? extends org.seedstack.seed.spi.SeedLauncher>valueTheSeedLauncherimplementation used for launching the tested application.
-
-
-
Element Detail
-
value
Class<? extends org.seedstack.seed.spi.SeedLauncher> value
TheSeedLauncherimplementation used for launching the tested application.- Returns:
- the launcher class.
- Default:
- org.seedstack.seed.spi.SeedLauncher.class
-
-
-
mode
LaunchMode mode
The launch mode of the tested application.- Returns:
- the launch mode.
- Default:
- org.seedstack.seed.testing.LaunchMode.ANY
-
-