Package io.camunda.client.impl.command
Class CreateMappingRuleCommandImpl
java.lang.Object
io.camunda.client.impl.command.CreateMappingRuleCommandImpl
- All Implemented Interfaces:
CreateMappingRuleCommandStep1,FinalCommandStep<CreateMappingRuleResponse>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSet the claim name to create a mapping rule with.claimValue(String claimValue) Set the claim value to create a mapping rule with.mappingRuleId(String mappingRuleId) Set the id to create a mapping rule with.Set the name to create a mapping rule with.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
-
CreateMappingRuleCommandImpl
-
-
Method Details
-
claimName
Description copied from interface:CreateMappingRuleCommandStep1Set the claim name to create a mapping rule with.- Specified by:
claimNamein interfaceCreateMappingRuleCommandStep1- Parameters:
claimName- the claimName value- Returns:
- the builder for this command. Call
FinalCommandStep.send()to complete the command and send it to the broker.
-
claimValue
Description copied from interface:CreateMappingRuleCommandStep1Set the claim value to create a mapping rule with.- Specified by:
claimValuein interfaceCreateMappingRuleCommandStep1- Parameters:
claimValue- the claimValue value- Returns:
- the builder for this command. Call
FinalCommandStep.send()to complete the command and send it to the broker.
-
name
Description copied from interface:CreateMappingRuleCommandStep1Set the name to create a mapping rule with.- Specified by:
namein interfaceCreateMappingRuleCommandStep1- Parameters:
name- the name value- Returns:
- the builder for this command. Call
FinalCommandStep.send()to complete the command and send it to the broker.
-
mappingRuleId
Description copied from interface:CreateMappingRuleCommandStep1Set the id to create a mapping rule with.- Specified by:
mappingRuleIdin interfaceCreateMappingRuleCommandStep1- Parameters:
mappingRuleId- the mapping rule id value- 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<CreateMappingRuleResponse>- 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<CreateMappingRuleResponse>- Returns:
- a future tracking state of success/failure of the command.
-