| Constructor and Description |
|---|
SimpleCommand() |
| Modifier and Type | Method and Description |
|---|---|
com.atlassian.bitbucket.scm.AsyncCommand<T> |
asynchronous() |
void |
setExecutionTimeout(long timeoutInSecs)
Throws an
UnsupportedOperationException to indicate that an execution timeout cannot be configured. |
void |
setIdleTimeout(long timeoutInSecs)
Throws an
UnsupportedOperationException to indicate that an idle timeout cannot be configured. |
@Nonnull public com.atlassian.bitbucket.scm.AsyncCommand<T> asynchronous()
asynchronous in interface com.atlassian.bitbucket.scm.Command<T>public void setExecutionTimeout(long timeoutInSecs)
UnsupportedOperationException to indicate that an execution timeout cannot be configured.setExecutionTimeout in interface com.atlassian.bitbucket.scm.Command<T>timeoutInSecs - the maximum time the operation is allowed to run, in secondsUnsupportedOperationException - if invokedpublic void setIdleTimeout(long timeoutInSecs)
UnsupportedOperationException to indicate that an idle timeout cannot be configured.setIdleTimeout in interface com.atlassian.bitbucket.scm.Command<T>timeoutInSecs - the maximum time the operation is allowed to be idle, in secondsUnsupportedOperationException - if invokedCopyright © 2019 Atlassian. All rights reserved.