Package io.ryos.rhino.sdk
Interface SimulationJobsScanner
-
- All Known Implementing Classes:
SimulationJobsScannerImpl
public interface SimulationJobsScanner
Scanner, used to search for annotated benchmark entities within the package provided. The withSimulation
annotated entities will be packaged along with the SDK into a JAR file, so the scanner searches for entities in the JAR artifact.- Since:
- 1.0
- Author:
- Erhan Bagdemir
- See Also:
Simulation
,Simulation
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static SimulationJobsScanner
create()
Factory method to create newSimulationJobsScanner
instances.java.util.List<Simulation>
scan(java.lang.String forSimulation, java.lang.String... inPackages)
Scanner method which takes a list of paths to be scanned for benchmark entities and returns a list ofSimulation
instances.
-
-
-
Method Detail
-
scan
java.util.List<Simulation> scan(java.lang.String forSimulation, java.lang.String... inPackages)
Scanner method which takes a list of paths to be scanned for benchmark entities and returns a list ofSimulation
instances.- Parameters:
inPackages
- The path to scan for entities.forSimulation
- Simulation name.- Returns:
- A list of benchmark job instances.
-
create
static SimulationJobsScanner create()
Factory method to create newSimulationJobsScanner
instances.- Returns:
- An instance of the scanner.
-
-