Package io.camunda.client.impl.command
Class UpdateMappingRuleCommandImpl
java.lang.Object
io.camunda.client.impl.command.UpdateMappingRuleCommandImpl
- All Implemented Interfaces:
FinalCommandStep<UpdateMappingRuleResponse>,UpdateMappingRuleCommandStep1,UpdateMappingRuleCommandStep1.UpdateMappingRuleCommandStep2,UpdateMappingRuleCommandStep1.UpdateMappingRuleCommandStep3,UpdateMappingRuleCommandStep1.UpdateMappingRuleCommandStep4
public class UpdateMappingRuleCommandImpl
extends Object
implements UpdateMappingRuleCommandStep1, UpdateMappingRuleCommandStep1.UpdateMappingRuleCommandStep2, UpdateMappingRuleCommandStep1.UpdateMappingRuleCommandStep3, UpdateMappingRuleCommandStep1.UpdateMappingRuleCommandStep4
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.camunda.client.api.command.UpdateMappingRuleCommandStep1
UpdateMappingRuleCommandStep1.UpdateMappingRuleCommandStep2, UpdateMappingRuleCommandStep1.UpdateMappingRuleCommandStep3, UpdateMappingRuleCommandStep1.UpdateMappingRuleCommandStep4 -
Constructor Summary
ConstructorsConstructorDescriptionUpdateMappingRuleCommandImpl(HttpClient httpClient, String mappingRuleId, JsonMapper jsonMapper) -
Method Summary
Modifier and TypeMethodDescriptionSet the claim name for the mapping rule to be updated.claimValue(String claimValue) Set the claim value for the mapping rule to be updated.Set the name for the mapping rule to be updated.requestTimeout(Duration requestTimeout) Sets the request timeout for the command.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
-
UpdateMappingRuleCommandImpl
public UpdateMappingRuleCommandImpl(HttpClient httpClient, String mappingRuleId, JsonMapper jsonMapper)
-
-
Method Details
-
name
Description copied from interface:UpdateMappingRuleCommandStep1Set the name for the mapping rule to be updated.- Specified by:
namein interfaceUpdateMappingRuleCommandStep1- Parameters:
name- the new name for this mapping rule- Returns:
- the builder for this command.
-
claimName
Description copied from interface:UpdateMappingRuleCommandStep1.UpdateMappingRuleCommandStep2Set the claim name for the mapping rule to be updated.- Specified by:
claimNamein interfaceUpdateMappingRuleCommandStep1.UpdateMappingRuleCommandStep2- Parameters:
claimName- the new claim name for this mapping rule- Returns:
- the builder for this command.
-
claimValue
Description copied from interface:UpdateMappingRuleCommandStep1.UpdateMappingRuleCommandStep3Set the claim value for the mapping rule to be updated.- Specified by:
claimValuein interfaceUpdateMappingRuleCommandStep1.UpdateMappingRuleCommandStep3- Parameters:
claimValue- the new claim value for this mapping rule- Returns:
- the builder for this command. Call
to complete the command and send it.
invalid reference
#send()
-
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<UpdateMappingRuleResponse>- 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<UpdateMappingRuleResponse>- Returns:
- a future tracking state of success/failure of the command.
-