Package io.camunda.client.impl.command
Class UnassignRoleFromClientCommandImpl
java.lang.Object
io.camunda.client.impl.command.UnassignRoleFromClientCommandImpl
- All Implemented Interfaces:
FinalCommandStep<UnassignRoleFromClientResponse>,UnassignRoleFromClientCommandStep1,UnassignRoleFromClientCommandStep1.UnassignRoleFromClientCommandStep2,UnassignRoleFromClientCommandStep1.UnassignRoleFromClientCommandStep3
public class UnassignRoleFromClientCommandImpl
extends Object
implements UnassignRoleFromClientCommandStep1, UnassignRoleFromClientCommandStep1.UnassignRoleFromClientCommandStep2, UnassignRoleFromClientCommandStep1.UnassignRoleFromClientCommandStep3
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.camunda.client.api.command.UnassignRoleFromClientCommandStep1
UnassignRoleFromClientCommandStep1.UnassignRoleFromClientCommandStep2, UnassignRoleFromClientCommandStep1.UnassignRoleFromClientCommandStep3 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the client ID.requestTimeout(Duration requestTimeout) Sets the request timeout for the command.Sets the role ID.send()Sends the command to the Camunda gateway.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.camunda.client.api.command.FinalCommandStep
execute
-
Constructor Details
-
UnassignRoleFromClientCommandImpl
-
-
Method Details
-
roleId
Description copied from interface:UnassignRoleFromClientCommandStep1Sets the role ID.- Specified by:
roleIdin interfaceUnassignRoleFromClientCommandStep1- Parameters:
roleId- the id of the role- Returns:
- the builder for this command
-
clientId
public UnassignRoleFromClientCommandStep1.UnassignRoleFromClientCommandStep3 clientId(String clientId) Description copied from interface:UnassignRoleFromClientCommandStep1.UnassignRoleFromClientCommandStep2Sets the client ID.- Specified by:
clientIdin interfaceUnassignRoleFromClientCommandStep1.UnassignRoleFromClientCommandStep2- Parameters:
clientId- the id of the client- Returns:
- the builder for this command. Call
FinalCommandStep.send()to complete the command and send it to the broker.
-
requestTimeout
Description copied from interface:FinalCommandStepSets the request timeout for the command. The default request timeout can be configured usingCamundaClientBuilder.defaultRequestTimeout(Duration).- Specified by:
requestTimeoutin interfaceFinalCommandStep<UnassignRoleFromClientResponse>- Parameters:
requestTimeout- the request timeout- Returns:
- the configured command
-
send
Description copied from interface:FinalCommandStepSends the command to the Camunda gateway. This operation is asynchronous. In case of success, the future returns the event that was generated by the Camunda gateway in response to the command.Call
CamundaFuture.join()to wait until the response is available.Future<JobEventinvalid input: '>' future = command.send(); JobEvent event = future.join();- Specified by:
sendin interfaceFinalCommandStep<UnassignRoleFromClientResponse>- Returns:
- a future tracking state of success/failure of the command.
-