Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
adapter.AbstractRuntimeServiceAdapter.kt Maven / Gradle / Ivy
/*-
* #%L
* camunda-rest-client-spring-boot
* %%
* Copyright (C) 2019 Camunda Services GmbH
* %%
* Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
* under one or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information regarding copyright
* ownership. Camunda licenses this file to you under the Apache License,
* Version 2.0; you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* #L%
*/
package org.camunda.bpm.extension.rest.adapter
import org.camunda.bpm.engine.RuntimeService
import org.camunda.bpm.engine.batch.Batch
import org.camunda.bpm.engine.migration.MigrationPlan
import org.camunda.bpm.engine.migration.MigrationPlanBuilder
import org.camunda.bpm.engine.migration.MigrationPlanExecutionBuilder
import org.camunda.bpm.engine.runtime.*
import org.camunda.bpm.engine.variable.VariableMap
import org.camunda.bpm.engine.variable.value.TypedValue
import org.camunda.bpm.extension.rest.impl.RemoteRuntimeService
import org.camunda.bpm.extension.rest.impl.implementedBy
/**
* Adapter for implementing runtime service.
*/
abstract class AbstractRuntimeServiceAdapter : RuntimeService {
override fun createVariableInstanceQuery(): VariableInstanceQuery {
TODO("not implemented")
}
override fun getVariables(executionId: String): MutableMap {
implementedBy(RemoteRuntimeService::class)
}
override fun getVariables(executionId: String, variableNames: MutableCollection): MutableMap {
implementedBy(RemoteRuntimeService::class)
}
override fun getVariableTyped(executionId: String, variableName: String): T? {
implementedBy(RemoteRuntimeService::class)
}
override fun getVariableTyped(executionId: String, variableName: String, deserializeValue: Boolean): T? {
implementedBy(RemoteRuntimeService::class)
}
override fun getVariablesTyped(executionId: String): VariableMap {
implementedBy(RemoteRuntimeService::class)
}
override fun getVariablesTyped(executionId: String, deserializeValues: Boolean): VariableMap {
implementedBy(RemoteRuntimeService::class)
}
override fun getVariablesTyped(executionId: String, variableNames: MutableCollection, deserializeValues: Boolean): VariableMap {
implementedBy(RemoteRuntimeService::class)
}
override fun getVariablesLocal(executionId: String): MutableMap {
implementedBy(RemoteRuntimeService::class)
}
override fun getVariablesLocal(executionId: String, variableNames: MutableCollection): MutableMap {
implementedBy(RemoteRuntimeService::class)
}
override fun getVariableLocal(executionId: String, variableName: String): Any? {
implementedBy(RemoteRuntimeService::class)
}
override fun getVariable(executionId: String, variableName: String): Any? {
implementedBy(RemoteRuntimeService::class)
}
override fun getVariablesLocalTyped(executionId: String): VariableMap {
implementedBy(RemoteRuntimeService::class)
}
override fun getVariablesLocalTyped(executionId: String, deserializeValues: Boolean): VariableMap {
implementedBy(RemoteRuntimeService::class)
}
override fun getVariablesLocalTyped(executionId: String, variableNames: MutableCollection, deserializeValues: Boolean): VariableMap {
implementedBy(RemoteRuntimeService::class)
}
override fun getVariableLocalTyped(executionId: String, variableName: String): T? {
implementedBy(RemoteRuntimeService::class)
}
override fun getVariableLocalTyped(executionId: String, variableName: String, deserializeValue: Boolean): T? {
implementedBy(RemoteRuntimeService::class)
}
override fun removeVariables(executionId: String, variableNames: MutableCollection) {
implementedBy(RemoteRuntimeService::class)
}
override fun removeVariable(executionId: String, variableName: String) {
implementedBy(RemoteRuntimeService::class)
}
override fun removeVariablesLocal(executionId: String, variableNames: MutableCollection) {
implementedBy(RemoteRuntimeService::class)
}
override fun removeVariableLocal(executionId: String, variableName: String) {
implementedBy(RemoteRuntimeService::class)
}
override fun setVariableLocal(executionId: String, variableName: String, value: Any?) {
implementedBy(RemoteRuntimeService::class)
}
override fun setVariablesLocal(executionId: String, variables: MutableMap) {
implementedBy(RemoteRuntimeService::class)
}
override fun setVariable(executionId: String, variableName: String, value: Any?) {
implementedBy(RemoteRuntimeService::class)
}
override fun setVariables(executionId: String, variables: MutableMap) {
implementedBy(RemoteRuntimeService::class)
}
override fun correlateMessage(messageName: String) {
implementedBy(RemoteRuntimeService::class)
}
override fun correlateMessage(messageName: String, businessKey: String) {
implementedBy(RemoteRuntimeService::class)
}
override fun correlateMessage(messageName: String, correlationKeys: MutableMap) {
implementedBy(RemoteRuntimeService::class)
}
override fun correlateMessage(messageName: String, businessKey: String, processVariables: MutableMap) {
implementedBy(RemoteRuntimeService::class)
}
override fun correlateMessage(messageName: String, correlationKeys: MutableMap, processVariables: MutableMap) {
implementedBy(RemoteRuntimeService::class)
}
override fun correlateMessage(messageName: String, businessKey: String, correlationKeys: MutableMap, processVariables: MutableMap) {
implementedBy(RemoteRuntimeService::class)
}
override fun updateProcessInstanceSuspensionState(): UpdateProcessInstanceSuspensionStateSelectBuilder {
TODO("not implemented")
}
override fun getActivityInstance(processInstanceId: String?): ActivityInstance {
TODO("not implemented")
}
override fun createConditionEvaluation(): ConditionEvaluationBuilder {
TODO("not implemented")
}
override fun resolveIncident(incidentId: String?) {
TODO("not implemented")
}
override fun getActiveActivityIds(executionId: String?): MutableList {
TODO("not implemented")
}
override fun signal(executionId: String) {
implementedBy(RemoteRuntimeService::class)
}
override fun signal(executionId: String, signalName: String, signalData: Any?, processVariables: MutableMap) {
implementedBy(RemoteRuntimeService::class)
}
override fun signal(executionId: String, processVariables: MutableMap) {
implementedBy(RemoteRuntimeService::class)
}
override fun signalEventReceived(signalName: String) {
implementedBy(RemoteRuntimeService::class)
}
override fun signalEventReceived(signalName: String, processVariables: MutableMap) {
implementedBy(RemoteRuntimeService::class)
}
override fun signalEventReceived(signalName: String, executionId: String) {
implementedBy(RemoteRuntimeService::class)
}
override fun signalEventReceived(signalName: String, executionId: String, processVariables: MutableMap) {
implementedBy(RemoteRuntimeService::class)
}
override fun createSignalEvent(signalName: String): SignalEventReceivedBuilder {
implementedBy(RemoteRuntimeService::class)
}
override fun createNativeExecutionQuery(): NativeExecutionQuery {
TODO("not implemented")
}
override fun newMigration(migrationPlan: MigrationPlan?): MigrationPlanExecutionBuilder {
TODO("not implemented")
}
override fun createMessageCorrelation(messageName: String): MessageCorrelationBuilder {
implementedBy(RemoteRuntimeService::class)
}
override fun messageEventReceived(messageName: String?, executionId: String?) {
TODO("not implemented")
}
override fun messageEventReceived(messageName: String?, executionId: String?, processVariables: MutableMap?) {
TODO("not implemented")
}
override fun createIncident(incidentType: String?, executionId: String?, configuration: String?): Incident {
TODO("not implemented")
}
override fun createIncident(incidentType: String?, executionId: String?, configuration: String?, message: String?): Incident {
TODO("not implemented")
}
override fun createMigrationPlan(sourceProcessDefinitionId: String?, targetProcessDefinitionId: String?): MigrationPlanBuilder {
TODO("not implemented")
}
override fun deleteProcessInstancesAsync(processInstanceIds: MutableList?, processInstanceQuery: ProcessInstanceQuery?, deleteReason: String?): Batch {
TODO("not implemented")
}
override fun deleteProcessInstancesAsync(processInstanceIds: MutableList?, processInstanceQuery: ProcessInstanceQuery?, deleteReason: String?, skipCustomListeners: Boolean): Batch {
TODO("not implemented")
}
override fun deleteProcessInstancesAsync(processInstanceIds: MutableList?, processInstanceQuery: ProcessInstanceQuery?, deleteReason: String?, skipCustomListeners: Boolean, skipSubprocesses: Boolean): Batch {
TODO("not implemented")
}
override fun deleteProcessInstancesAsync(processInstanceQuery: ProcessInstanceQuery?, deleteReason: String?): Batch {
TODO("not implemented")
}
override fun deleteProcessInstancesAsync(processInstanceIds: MutableList?, deleteReason: String?): Batch {
TODO("not implemented")
}
override fun deleteProcessInstanceIfExists(processInstanceId: String?, deleteReason: String?, skipCustomListeners: Boolean, externallyTerminated: Boolean, skipIoMappings: Boolean, skipSubprocesses: Boolean) {
TODO("not implemented")
}
override fun suspendProcessInstanceById(processInstanceId: String?) {
TODO("not implemented")
}
override fun deleteProcessInstances(processInstanceIds: MutableList?, deleteReason: String?, skipCustomListeners: Boolean, externallyTerminated: Boolean) {
TODO("not implemented")
}
override fun deleteProcessInstances(processInstanceIds: MutableList?, deleteReason: String?, skipCustomListeners: Boolean, externallyTerminated: Boolean, skipSubprocesses: Boolean) {
TODO("not implemented")
}
override fun activateProcessInstanceById(processInstanceId: String?) {
TODO("not implemented")
}
override fun suspendProcessInstanceByProcessDefinitionKey(processDefinitionKey: String?) {
TODO("not implemented")
}
override fun createProcessInstanceModification(processInstanceId: String?): ProcessInstanceModificationBuilder {
TODO("not implemented")
}
override fun activateProcessInstanceByProcessDefinitionId(processDefinitionId: String?) {
TODO("not implemented")
}
override fun createNativeProcessInstanceQuery(): NativeProcessInstanceQuery {
TODO("not implemented")
}
override fun suspendProcessInstanceByProcessDefinitionId(processDefinitionId: String?) {
TODO("not implemented")
}
override fun createProcessInstanceQuery(): ProcessInstanceQuery {
TODO("not implemented")
}
override fun activateProcessInstanceByProcessDefinitionKey(processDefinitionKey: String?) {
TODO("not implemented")
}
override fun deleteProcessInstancesIfExists(processInstanceIds: MutableList?, deleteReason: String?, skipCustomListeners: Boolean, externallyTerminated: Boolean, skipSubprocesses: Boolean) {
TODO("not implemented")
}
override fun createProcessInstanceById(processDefinitionId: String?): ProcessInstantiationBuilder {
TODO("not implemented")
}
override fun createProcessInstanceByKey(processDefinitionKey: String): ProcessInstantiationBuilder {
TODO("not implemented")
}
override fun deleteProcessInstance(processInstanceId: String?, deleteReason: String?) {
TODO("not implemented")
}
override fun deleteProcessInstance(processInstanceId: String?, deleteReason: String?, skipCustomListeners: Boolean) {
TODO("not implemented")
}
override fun deleteProcessInstance(processInstanceId: String?, deleteReason: String?, skipCustomListeners: Boolean, externallyTerminated: Boolean) {
TODO("not implemented")
}
override fun deleteProcessInstance(processInstanceId: String?, deleteReason: String?, skipCustomListeners: Boolean, externallyTerminated: Boolean, skipIoMappings: Boolean) {
TODO("not implemented")
}
override fun deleteProcessInstance(processInstanceId: String?, deleteReason: String?, skipCustomListeners: Boolean, externallyTerminated: Boolean, skipIoMappings: Boolean, skipSubprocesses: Boolean) {
TODO("not implemented")
}
override fun restartProcessInstances(processDefinitionId: String?): RestartProcessInstanceBuilder {
TODO("not implemented")
}
override fun createModification(processDefinitionId: String?): ModificationBuilder {
TODO("not implemented")
}
override fun createExecutionQuery(): ExecutionQuery {
TODO("not implemented")
}
override fun createEventSubscriptionQuery(): EventSubscriptionQuery {
TODO("not implemented")
}
override fun createIncidentQuery(): IncidentQuery {
TODO("not implemented")
}
override fun startProcessInstanceById(processDefinitionId: String): ProcessInstance {
implementedBy(RemoteRuntimeService::class)
}
override fun startProcessInstanceById(processDefinitionId: String, businessKey: String): ProcessInstance {
implementedBy(RemoteRuntimeService::class)
}
override fun startProcessInstanceById(processDefinitionId: String, businessKey: String, caseInstanceId: String): ProcessInstance {
implementedBy(RemoteRuntimeService::class)
}
override fun startProcessInstanceById(processDefinitionId: String, variables: MutableMap): ProcessInstance {
implementedBy(RemoteRuntimeService::class)
}
override fun startProcessInstanceById(processDefinitionId: String, businessKey: String, variables: MutableMap): ProcessInstance {
implementedBy(RemoteRuntimeService::class)
}
override fun startProcessInstanceById(processDefinitionId: String, businessKey: String, caseInstanceId: String, variables: MutableMap): ProcessInstance {
implementedBy(RemoteRuntimeService::class)
}
override fun startProcessInstanceByKey(processDefinitionKey: String): ProcessInstance {
implementedBy(RemoteRuntimeService::class)
}
override fun startProcessInstanceByKey(processDefinitionKey: String, businessKey: String): ProcessInstance {
implementedBy(RemoteRuntimeService::class)
}
override fun startProcessInstanceByKey(processDefinitionKey: String, businessKey: String, caseInstanceId: String): ProcessInstance {
implementedBy(RemoteRuntimeService::class)
}
override fun startProcessInstanceByKey(processDefinitionKey: String, variables: MutableMap): ProcessInstance {
implementedBy(RemoteRuntimeService::class)
}
override fun startProcessInstanceByKey(processDefinitionKey: String, businessKey: String, variables: MutableMap): ProcessInstance {
implementedBy(RemoteRuntimeService::class)
}
override fun startProcessInstanceByKey(processDefinitionKey: String, businessKey: String, caseInstanceId: String, variables: MutableMap): ProcessInstance {
implementedBy(RemoteRuntimeService::class)
}
override fun startProcessInstanceByMessage(messageName: String?): ProcessInstance {
TODO("not implemented")
}
override fun startProcessInstanceByMessage(messageName: String?, businessKey: String?): ProcessInstance {
TODO("not implemented")
}
override fun startProcessInstanceByMessage(messageName: String?, processVariables: MutableMap?): ProcessInstance {
TODO("not implemented")
}
override fun startProcessInstanceByMessage(messageName: String?, businessKey: String?, processVariables: MutableMap?): ProcessInstance {
TODO("not implemented")
}
override fun startProcessInstanceByMessageAndProcessDefinitionId(messageName: String?, processDefinitionId: String?): ProcessInstance {
TODO("not implemented")
}
override fun startProcessInstanceByMessageAndProcessDefinitionId(messageName: String?, processDefinitionId: String?, businessKey: String?): ProcessInstance {
TODO("not implemented")
}
override fun startProcessInstanceByMessageAndProcessDefinitionId(messageName: String?, processDefinitionId: String?, processVariables: MutableMap?): ProcessInstance {
TODO("not implemented")
}
override fun startProcessInstanceByMessageAndProcessDefinitionId(messageName: String?, processDefinitionId: String?, businessKey: String?, processVariables: MutableMap?): ProcessInstance {
TODO("not implemented")
}
}