Package io.camunda.client.impl.command
Class UnassignRoleFromMappingCommandImpl
java.lang.Object
io.camunda.client.impl.command.UnassignRoleFromMappingCommandImpl
- All Implemented Interfaces:
FinalCommandStep<UnassignRoleFromMappingResponse>,UnassignRoleFromMappingCommandStep1,UnassignRoleFromMappingCommandStep1.UnassignRoleFromMappingCommandStep2
public class UnassignRoleFromMappingCommandImpl
extends Object
implements UnassignRoleFromMappingCommandStep1, UnassignRoleFromMappingCommandStep1.UnassignRoleFromMappingCommandStep2
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.camunda.client.api.command.UnassignRoleFromMappingCommandStep1
UnassignRoleFromMappingCommandStep1.UnassignRoleFromMappingCommandStep2 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the mapping ID.requestTimeout(Duration requestTimeout) Sets the request timeout for the command.Sets the role ID.send()Sends the command to the Camunda gateway.
-
Constructor Details
-
UnassignRoleFromMappingCommandImpl
-
-
Method Details
-
roleId
public UnassignRoleFromMappingCommandStep1.UnassignRoleFromMappingCommandStep2 roleId(String roleId) Description copied from interface:UnassignRoleFromMappingCommandStep1Sets the role ID.- Specified by:
roleIdin interfaceUnassignRoleFromMappingCommandStep1- Parameters:
roleId- the roleId of the role- Returns:
- the builder for this command.
-
mappingId
public UnassignRoleFromMappingCommandStep1.UnassignRoleFromMappingCommandStep2 mappingId(String mappingId) Description copied from interface:UnassignRoleFromMappingCommandStep1.UnassignRoleFromMappingCommandStep2Sets the mapping ID.- Specified by:
mappingIdin interfaceUnassignRoleFromMappingCommandStep1.UnassignRoleFromMappingCommandStep2- Parameters:
mappingId- the mappingId of the mapping- 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<UnassignRoleFromMappingResponse>- 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<UnassignRoleFromMappingResponse>- Returns:
- a future tracking state of success/failure of the command.
-