2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright (C) 2017 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.openecomp.mso.cloudify.v3.model;
23 import java.io.Serializable;
24 import java.util.Date;
27 import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
28 import com.fasterxml.jackson.annotation.JsonProperty;
30 @JsonIgnoreProperties(ignoreUnknown = true)
31 // @JsonRootName("execution")
32 public class Execution implements Serializable {
34 private static final long serialVersionUID = 1L;
36 @JsonProperty("blueprint_id")
37 private String blueprintId;
39 @JsonProperty("created_at")
40 private Date createdAt;
42 @JsonProperty("created_by")
43 private String createdBy;
45 @JsonProperty("deployment_id")
46 private String deploymentId;
48 @JsonProperty("error")
54 @JsonProperty("is_system_workflow")
55 private boolean isSystemWorkflow;
57 @JsonProperty("parameters")
58 private Map<String, Object> parameters;
60 @JsonProperty("status")
61 private String status;
63 @JsonProperty("tenant_name")
64 private String tenantName;
66 @JsonProperty("workflow_id")
67 private String workflowId;
69 public String getBlueprintId() {
73 public void setBlueprintId(String blueprintId) {
74 this.blueprintId = blueprintId;
77 public Date getCreatedAt() {
81 public void setCreatedAt(Date createdAt) {
82 this.createdAt = createdAt;
85 public String getCreatedBy() {
89 public void setCreatedBy(String createdBy) {
90 this.createdBy = createdBy;
93 public String getDeploymentId() {
97 public void setDeploymentId(String deploymentId) {
98 this.deploymentId = deploymentId;
101 public String getError() {
105 public void setError(String error) {
109 public String getId() {
113 public void setId(String id) {
117 public boolean isSystemWorkflow() {
118 return isSystemWorkflow;
121 public void setSystemWorkflow(boolean isSystemWorkflow) {
122 this.isSystemWorkflow = isSystemWorkflow;
125 public Map<String, Object> getParameters() {
129 public void setParameters(Map<String, Object> parameters) {
130 this.parameters = parameters;
133 public String getStatus() {
137 public void setStatus(String status) {
138 this.status = status;
141 public String getTenantName() {
145 public void setTenantName(String tenantName) {
146 this.tenantName = tenantName;
149 public String getWorkflowId() {
153 public void setWorkflowId(String workflowId) {
154 this.workflowId = workflowId;
158 public String toString() {
159 return "Execution{" +
161 ", blueprintId='" + blueprintId + '\'' +
162 ", createdBy='" + createdBy + '\'' +
163 ", createdAt=" + createdAt +
164 ", deploymentId='" + deploymentId + '\'' +
166 ", isSystemWorkflow=" + isSystemWorkflow +
167 ", status=" + status +
168 ", tenantName='" + tenantName + '\'' +
169 ", parameters=" + parameters +