public interface HookRequestHandle extends AutoCloseable, Closeable
Modifier and Type | Field and Description |
---|---|
static String |
ENV_HOOK_ADDRESS
The environment variable to be set in order to provide the
getHostAddress() socket bind address}
to external processes. |
static String |
ENV_HOOK_CALLBACK
The environment variable to be set in order to provide the
callback scripts
location to external processes. |
static String |
ENV_HOOK_COORDINATOR
The environment variable to be set in order to provide the
coordinator scripts
location to external processes. |
static String |
ENV_HOOK_PORT
The environment variable to be set in order to provide the
port number
to external processes. |
static String |
ENV_HOOK_REQUEST_ID
The environment variable to be set in order to provide the
getRequestId() hook request id}
to external processes. |
Modifier and Type | Method and Description |
---|---|
void |
close()
Indicate that the SCM provider has finished with the hook request.
|
File |
getCallbackScript() |
File |
getCoordinatorScript() |
String |
getHostAddress() |
int |
getPort() |
String |
getRequestId() |
boolean |
isAccepted() |
boolean |
isCalled() |
static final String ENV_HOOK_CALLBACK
callback scripts
location to external processes.static final String ENV_HOOK_COORDINATOR
coordinator scripts
location to external processes.static final String ENV_HOOK_ADDRESS
getHostAddress()
socket bind address}
to external processes.static final String ENV_HOOK_PORT
port number
to external processes.static final String ENV_HOOK_REQUEST_ID
getRequestId()
hook request id}
to external processes.void close()
close
in interface AutoCloseable
close
in interface Closeable
@Nonnull File getCallbackScript()
@Nonnull File getCoordinatorScript()
@Nonnull String getHostAddress()
int getPort()
@Nonnull String getRequestId()
boolean isAccepted()
boolean isCalled()
Copyright © 2020 Atlassian. All rights reserved.