Package net.jqwik.api.lifecycle
Klasse SkipExecutionHook.SkipResult
java.lang.Object
net.jqwik.api.lifecycle.SkipExecutionHook.SkipResult
- Umschließende Schnittstelle:
SkipExecutionHook
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic SkipExecutionHook.SkipResult
Create instance of SkipExecutionHook.SkipResult to make the current element not being skipped.boolean
Whether execution of the context should be skipped.reason()
Get the reason that execution of the context should be skipped, if available.static SkipExecutionHook.SkipResult
Create instance of SkipExecutionHook.SkipResult to make the current element being skipped.toString()
-
Methodendetails
-
skip
Create instance of SkipExecutionHook.SkipResult to make the current element being skipped.- Parameter:
reason
- String to describe why the element will be skipped- Gibt zurück:
- instance of SkipExecutionHook.SkipResult
-
doNotSkip
Create instance of SkipExecutionHook.SkipResult to make the current element not being skipped.- Gibt zurück:
- instance of SkipExecutionHook.SkipResult
-
isSkipped
public boolean isSkipped()Whether execution of the context should be skipped.- Gibt zurück:
true
if the execution should be skipped
-
reason
Get the reason that execution of the context should be skipped, if available. Might not be present, especially when using doNotSkip().- Gibt zurück:
- instance of Optional<SkipExecutionHook.SkipResult>
-
toString
-