Package io.camunda.client.impl.command
Class UnassignRoleFromMappingRuleCommandImpl
java.lang.Object
io.camunda.client.impl.command.UnassignRoleFromMappingRuleCommandImpl
- All Implemented Interfaces:
FinalCommandStep<UnassignRoleFromMappingRuleResponse>,UnassignRoleFromMappingRuleCommandStep1,UnassignRoleFromMappingRuleCommandStep1.UnassignRoleFromMappingRuleCommandStep2,UnassignRoleFromMappingRuleCommandStep1.UnassignRoleFromMappingRuleCommandStep3
public class UnassignRoleFromMappingRuleCommandImpl
extends Object
implements UnassignRoleFromMappingRuleCommandStep1, UnassignRoleFromMappingRuleCommandStep1.UnassignRoleFromMappingRuleCommandStep2, UnassignRoleFromMappingRuleCommandStep1.UnassignRoleFromMappingRuleCommandStep3
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.camunda.client.api.command.UnassignRoleFromMappingRuleCommandStep1
UnassignRoleFromMappingRuleCommandStep1.UnassignRoleFromMappingRuleCommandStep2, UnassignRoleFromMappingRuleCommandStep1.UnassignRoleFromMappingRuleCommandStep3 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionmappingRuleId(String mappingRuleId) Sets the mapping rule 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
-
UnassignRoleFromMappingRuleCommandImpl
-
-
Method Details
-
roleId
public UnassignRoleFromMappingRuleCommandStep1.UnassignRoleFromMappingRuleCommandStep2 roleId(String roleId) Description copied from interface:UnassignRoleFromMappingRuleCommandStep1Sets the role ID.- Specified by:
roleIdin interfaceUnassignRoleFromMappingRuleCommandStep1- Parameters:
roleId- the roleId of the role- Returns:
- the builder for this command.
-
mappingRuleId
public UnassignRoleFromMappingRuleCommandStep1.UnassignRoleFromMappingRuleCommandStep3 mappingRuleId(String mappingRuleId) Description copied from interface:UnassignRoleFromMappingRuleCommandStep1.UnassignRoleFromMappingRuleCommandStep2Sets the mapping rule ID.- Specified by:
mappingRuleIdin interfaceUnassignRoleFromMappingRuleCommandStep1.UnassignRoleFromMappingRuleCommandStep2- Parameters:
mappingRuleId- the mappingRuleId of the mapping rule- Returns:
- the builder for this command. Call
FinalCommandStep.send()to complete the command and send it to the broker.
-
requestTimeout
public FinalCommandStep<UnassignRoleFromMappingRuleResponse> requestTimeout(Duration 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<UnassignRoleFromMappingRuleResponse>- 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<UnassignRoleFromMappingRuleResponse>- Returns:
- a future tracking state of success/failure of the command.
-