com.atlassian.bitbucket.hook.HookRequestHandle |
A handle on the hook request which provides the required information to make a successful callback to Stash via their hook callback socket
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | ENV_HOOK_ADDRESS | The environment variable to be set in order to provide the getHostAddress() socket bind address}
to external processes. |
|||||||||
String | ENV_HOOK_CALLBACK | The environment variable to be set in order to provide the callback scripts
location to external processes. |
|||||||||
String | ENV_HOOK_COORDINATOR | The environment variable to be set in order to provide the coordinator scripts
location to external processes. |
|||||||||
String | ENV_HOOK_PORT | The environment variable to be set in order to provide the port number
to external processes. |
|||||||||
String | ENV_HOOK_REQUEST_ID | The environment variable to be set in order to provide the getRequestId() hook request id}
to external processes. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Indicate that the SCM provider has finished with the hook request.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
java.io.Closeable
| |||||||||||
From interface
java.lang.AutoCloseable
|
The environment variable to be set in order to provide the getHostAddress()
socket bind address}
to external processes.
The environment variable to be set in order to provide the callback scripts
location to external processes.
The environment variable to be set in order to provide the coordinator scripts
location to external processes.
The environment variable to be set in order to provide the port number
to external processes.
The environment variable to be set in order to provide the getRequestId()
hook request id}
to external processes.
Indicate that the SCM provider has finished with the hook request. This allows the host application to cleanup any references it is maintaining