class HookContext extends java.lang.Object
encapsulates the runtime context to inform lifecycle hook annotated library step methods
| Type | Name and description |
|---|---|
java.lang.Boolean |
exceptionThrownindicates whether an uncaught exception has been thrown. |
java.lang.String |
librarythe library contributing the step that triggered the lifecycle hook |
java.lang.String |
methodNamethe name of the method within the step that was invoked. |
java.lang.String |
stepthe name of the step that triggered the lifecycle hook |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
indicates whether an uncaught exception has been thrown.
the library contributing the step that triggered the lifecycle hook
null prior to and post pipeline template execution
the name of the method within the step that was invoked. helpful for triggering hooks after multi-method steps.
null prior to and post pipeline template execution
the name of the step that triggered the lifecycle hook
null prior to and post pipeline template execution