|
| 1 | +/********************************************************************* |
| 2 | + * Copyright (c) 2024 Boeing |
| 3 | + * |
| 4 | + * This program and the accompanying materials are made |
| 5 | + * available under the terms of the Eclipse Public License 2.0 |
| 6 | + * which is available at https://www.eclipse.org/legal/epl-2.0/ |
| 7 | + * |
| 8 | + * SPDX-License-Identifier: EPL-2.0 |
| 9 | + * |
| 10 | + * Contributors: |
| 11 | + * Boeing - initial API and implementation |
| 12 | + **********************************************************************/ |
| 13 | +package org.eclipse.osee.ats.api.task.track; |
| 14 | + |
| 15 | +import java.util.HashMap; |
| 16 | +import java.util.Map; |
| 17 | +import org.eclipse.osee.ats.api.team.ChangeTypes; |
| 18 | +import org.eclipse.osee.framework.core.data.ArtifactToken; |
| 19 | +import org.eclipse.osee.framework.jdk.core.result.XResultData; |
| 20 | + |
| 21 | +/** |
| 22 | + * @author Donald G. Dunne |
| 23 | + */ |
| 24 | +public class TaskTrackingData { |
| 25 | + |
| 26 | + // User initiating request. Will author tx and be Originator |
| 27 | + String asUserArtId; |
| 28 | + String title; |
| 29 | + String description; |
| 30 | + ChangeTypes changeType; |
| 31 | + String priority; |
| 32 | + // Actionable Item for new Team Workflow |
| 33 | + String aiArtId; |
| 34 | + XResultData results = new XResultData(); |
| 35 | + String transactionComment; |
| 36 | + Map<String, String> attrValues = new HashMap<>(); |
| 37 | + TaskTrackItems trackItems = new TaskTrackItems(); |
| 38 | + // Artifact on Common containing additional tasks to create |
| 39 | + String taskTrackArtId; |
| 40 | + String transitionTo; |
| 41 | + String assignees; // Comma-separated list of assignee Artifact IDs |
| 42 | + ArtifactToken teamWf = ArtifactToken.SENTINEL; |
| 43 | + |
| 44 | + public TaskTrackingData() { |
| 45 | + // jax-rs |
| 46 | + } |
| 47 | + |
| 48 | + public String getTitle() { |
| 49 | + return title; |
| 50 | + } |
| 51 | + |
| 52 | + public void setTitle(String title) { |
| 53 | + this.title = title; |
| 54 | + } |
| 55 | + |
| 56 | + public String getDescription() { |
| 57 | + return description; |
| 58 | + } |
| 59 | + |
| 60 | + public void setDescription(String description) { |
| 61 | + this.description = description; |
| 62 | + } |
| 63 | + |
| 64 | + public ChangeTypes getChangeType() { |
| 65 | + return changeType; |
| 66 | + } |
| 67 | + |
| 68 | + public void setChangeType(ChangeTypes changeType) { |
| 69 | + this.changeType = changeType; |
| 70 | + } |
| 71 | + |
| 72 | + public String getPriority() { |
| 73 | + return priority; |
| 74 | + } |
| 75 | + |
| 76 | + public void setPriority(String priority) { |
| 77 | + this.priority = priority; |
| 78 | + } |
| 79 | + |
| 80 | + public String getTransactionComment() { |
| 81 | + return transactionComment; |
| 82 | + } |
| 83 | + |
| 84 | + public void setTransactionComment(String transactionComment) { |
| 85 | + this.transactionComment = transactionComment; |
| 86 | + } |
| 87 | + |
| 88 | + public Map<String, String> getAttrValues() { |
| 89 | + return attrValues; |
| 90 | + } |
| 91 | + |
| 92 | + public void setAttrValues(Map<String, String> attrValues) { |
| 93 | + this.attrValues = attrValues; |
| 94 | + } |
| 95 | + |
| 96 | + public String getAssignees() { |
| 97 | + return assignees; |
| 98 | + } |
| 99 | + |
| 100 | + public void setAssignees(String assignees) { |
| 101 | + this.assignees = assignees; |
| 102 | + } |
| 103 | + |
| 104 | + public XResultData getResults() { |
| 105 | + return results; |
| 106 | + } |
| 107 | + |
| 108 | + public void setResults(XResultData results) { |
| 109 | + this.results = results; |
| 110 | + } |
| 111 | + |
| 112 | + public String getAsUserArtId() { |
| 113 | + return asUserArtId; |
| 114 | + } |
| 115 | + |
| 116 | + public void setAsUserArtId(String asUserArtId) { |
| 117 | + this.asUserArtId = asUserArtId; |
| 118 | + } |
| 119 | + |
| 120 | + public TaskTrackItems getTrackItems() { |
| 121 | + return trackItems; |
| 122 | + } |
| 123 | + |
| 124 | + public void setTrackItems(TaskTrackItems trackItems) { |
| 125 | + this.trackItems = trackItems; |
| 126 | + } |
| 127 | + |
| 128 | + public String getAiArtId() { |
| 129 | + return aiArtId; |
| 130 | + } |
| 131 | + |
| 132 | + public void setAiArtId(String aiArtId) { |
| 133 | + this.aiArtId = aiArtId; |
| 134 | + } |
| 135 | + |
| 136 | + public String getTaskTrackArtId() { |
| 137 | + return taskTrackArtId; |
| 138 | + } |
| 139 | + |
| 140 | + public void setTaskTrackArtId(String taskTrackArtId) { |
| 141 | + this.taskTrackArtId = taskTrackArtId; |
| 142 | + } |
| 143 | + |
| 144 | + public String getTransitionTo() { |
| 145 | + return transitionTo; |
| 146 | + } |
| 147 | + |
| 148 | + public void setTransitionTo(String transitionTo) { |
| 149 | + this.transitionTo = transitionTo; |
| 150 | + } |
| 151 | + |
| 152 | + public ArtifactToken getTeamWf() { |
| 153 | + return teamWf; |
| 154 | + } |
| 155 | + |
| 156 | + public void setTeamWf(ArtifactToken teamWf) { |
| 157 | + this.teamWf = teamWf; |
| 158 | + } |
| 159 | + |
| 160 | +} |
0 commit comments