Package org.arquillian.cube.spi
Interface AutoStartOrder<T>
- Type Parameters:
T- Definition of cubes
public interface AutoStartOrder<T>
Interface that returns for given configuration object the order for starting and stopping cubes.
-
Method Summary
Modifier and TypeMethodDescriptiongetAutoStartOrder(T config) Returns a list of Ids of Cubes to start.getAutoStopOrder(T config) Returns a list of Ids of Cubes to stop.
-
Method Details
-
getAutoStartOrder
Returns a list of Ids of Cubes to start. All the elements of the array are going to be started in parallel.- Parameters:
config- Configuration object.- Returns:
- List of cubes to start. Each element of the list is an array of identifiers. All elements of the array are started in parallel.
-
getAutoStopOrder
Returns a list of Ids of Cubes to stop. All the elements of the array are going to be stopped in parallel.- Parameters:
config- Configuration object.- Returns:
- List of cubes to stop. Each element of the list is an array of identifiers. All elements of the array are stopped in parallel.
-