trait ResourcefulReporter extends Reporter
Subtrait of Reporter
that contains a dispose
method for
releasing any finite, non-memory resources, such as file handles, held by the
Reporter
. Runner
will invoke dispose
on
any ResourcefulReporter
when it no longer needs the Reporter
.
- Alphabetic
- By Inheritance
- ResourcefulReporter
- Reporter
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
def
apply(event: Event): Unit
Invoked to report an event that subclasses may wish to report in some way to the user.
Invoked to report an event that subclasses may wish to report in some way to the user.
- event
the event being reported
- Definition Classes
- Reporter
-
abstract
def
dispose(): Unit
Release any finite, non-memory resources, such as file handles, held by this
Reporter
.Release any finite, non-memory resources, such as file handles, held by this
Reporter
. Clients should call this method when they no longer need theReporter
, before releasing the last reference to theReporter
. After this method is invoked, theReporter
may be defunct, and therefore not usable anymore. If theReporter
holds no resources, it may do nothing when this method is invoked, however, in that case, it probably won't implementResourcefulReporter
.