2 * ============LICENSE_START=======================================================
3 * Copyright (C) 2019 Samsung Electronics Co., Ltd. All rights reserved.
4 * ================================================================================
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
9 * http://www.apache.org/licenses/LICENSE-2.0
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
17 * SPDX-License-Identifier: Apache-2.0
18 * ============LICENSE_END=========================================================
21 package org.onap.so.bpmn.infrastructure.workflow.tasks;
23 import org.camunda.bpm.engine.delegate.DelegateExecution;
24 import org.onap.so.bpmn.servicedecomposition.entities.BuildingBlockBase;
25 import org.onap.so.bpmn.servicedecomposition.entities.WorkflowResourceIds;
26 import org.onap.so.db.catalog.beans.macro.OrchestrationFlow;
27 import org.onap.so.serviceinstancebeans.RequestDetails;
28 import org.onap.so.serviceinstancebeans.ServiceInstancesRequest;
29 import java.io.Serializable;
30 import java.util.List;
32 public class ConfigBuildingBlocksDataObject extends BuildingBlockBase<ConfigBuildingBlocksDataObject>
33 implements Serializable {
35 private static final long serialVersionUID = 3L;
36 private DelegateExecution execution;
37 private List<OrchestrationFlow> orchFlows;
38 private Resource resourceKey;
39 private ServiceInstancesRequest sIRequest;
40 private ReplaceInstanceRelatedInformation replaceInformation;
42 public ServiceInstancesRequest getsIRequest() {
46 public ConfigBuildingBlocksDataObject setsIRequest(ServiceInstancesRequest sIRequest) {
47 this.sIRequest = sIRequest;
51 public List<OrchestrationFlow> getOrchFlows() {
55 public ConfigBuildingBlocksDataObject setOrchFlows(List<OrchestrationFlow> orchFlows) {
56 this.orchFlows = orchFlows;
60 public Resource getResourceKey() {
64 public ConfigBuildingBlocksDataObject setResourceKey(Resource resourceKey) {
65 this.resourceKey = resourceKey;
69 public DelegateExecution getExecution() {
73 public ConfigBuildingBlocksDataObject setExecution(DelegateExecution execution) {
74 this.execution = execution;
78 public ReplaceInstanceRelatedInformation getReplaceInformation() {
79 return replaceInformation;
82 public ConfigBuildingBlocksDataObject setReplaceInformation(ReplaceInstanceRelatedInformation replaceInformation) {
83 this.replaceInformation = replaceInformation;