interface ReporterFactory
(source)
Responsible to create a Reporter.
It identify itself via its id. This id can be used by a user to specify that this ReporterFactory shall be used.
In order to do that, the user has to define the system property ch.tutteli.atrium.reporting.reporterFactory
abstract val id: String
Identification of the supplier |
abstract fun create(): Reporter
Creates a new Reporter. |
const val SYSTEM_PROPERTY: String
The key of the system property which is used to define which ReporterFactory shall be used. You can use specifyFactory or specifyFactoryIfNotYetSet |
fun specifyFactory(reporterFactoryId: String): String
Sets the system property with key SYSTEM_PROPERTY (which is |
|
fun specifyFactoryIfNotYetSet(reporterFactoryId: String): Unit
Sets the system property with key SYSTEM_PROPERTY (which is |