2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright (C) 2019 AT&T Intellectual Property. All rights reserved.
6 * ================================================================================
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
11 * http://www.apache.org/licenses/LICENSE-2.0
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
18 * ============LICENSE_END=========================================================
21 package org.onap.sdc.tosca.datatypes.model;
23 import java.util.List;
25 public class StepDefinition {
27 private String target;
28 private String target_relationship;
29 private String operation_host;
30 private List<Constraint> filter;
31 private List<ActivityDefinition> activities;
32 private String on_success;
33 private String on_failure;
36 public String getTarget() {
40 public void setTarget(String target) {
44 public String getTarget_relationship() {
45 return target_relationship;
48 public void setTarget_relationship(String target_relationship) {
49 this.target_relationship = target_relationship;
52 public String getOperation_host() {
53 return operation_host;
56 public void setOperation_host(String operation_host) {
57 this.operation_host = operation_host;
60 public List<Constraint> getFilter() {
64 public void setFilter(List<Constraint> filter) {
68 public List<ActivityDefinition> getActivities() {
72 public void setActivities(List<ActivityDefinition> activities) {
73 this.activities = activities;
76 public String getOn_success() {
80 public void setOn_success(String on_success) {
81 this.on_success = on_success;
84 public String getOn_failure() {
88 public void setOn_failure(String on_failure) {
89 this.on_failure = on_failure;