Package com.exedio.cope.util
Annotation Type Properties.Probe
- Enclosing class:
- Properties
Declares a method to be a probe.
Probes are returned by
Properties.getProbes()
.
Probe methods must not be static and must have no parameters.
A probe may throw a ProbeAbortedException
to indicate, that this probe has been aborted because one of its preconditions is not fulfilled.
This may happen, if the probe depends on something that does not exist in this
properties instance.
-
Optional Element Summary
Optional Elements
-
Element Details
-
name
String nameSpecifies the name of the test. Defaults to the name of the method, stripped of prefix "probe" if present. Names must be unique within a class.- Default:
- ""
-