public static class SkipExecutionHook.SkipResult
extends java.lang.Object
| Modifier and Type | Method and Description | 
|---|---|
static SkipExecutionHook.SkipResult | 
doNotSkip()
Create instance of SkipExecutionHook.SkipResult to make the current element not being skipped. 
 | 
boolean | 
isSkipped()
Whether execution of the context should be skipped. 
 | 
java.util.Optional<java.lang.String> | 
reason()
Get the reason that execution of the context should be skipped,
 if available. 
 | 
static SkipExecutionHook.SkipResult | 
skip(java.lang.String reason)
Create instance of SkipExecutionHook.SkipResult to make the current element being skipped. 
 | 
java.lang.String | 
toString()  | 
public static SkipExecutionHook.SkipResult skip(@Nullable java.lang.String reason)
reason - String to describe why the element will be skippedpublic static SkipExecutionHook.SkipResult doNotSkip()
public boolean isSkipped()
true if the execution should be skippedpublic java.util.Optional<java.lang.String> reason()
public java.lang.String toString()
toString in class java.lang.Object