Skip to main content
summaryrefslogtreecommitdiffstats
blob: 781c5a127bc9936d75683b2b31edda0077be96ba (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
/*******************************************************************************
 * Copyright (c) 2004, 2007 Boeing.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse public default  License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *     Boeing - initial API and implementation
 *******************************************************************************/
package org.eclipse.osee.ats.api.team;

import org.eclipse.osee.ats.api.IAtsWorkItem;
import org.eclipse.osee.ats.api.workflow.IAtsTeamWorkflow;

/**
 * @author Donald G. Dunne
 */
public

interface ITeamWorkflowProvider {

   public default String getWorkflowDefinitionId(IAtsWorkItem workItem) {
      return null;
   }

   public default String getRelatedTaskWorkflowDefinitionId(IAtsTeamWorkflow teamWf) {
      return null;
   }

   /**
    * Assigned or computed Id that will show at the top of the editor. Default is <ATS Id> - <Legacy PCR Id (if any)>
    */
   public default String getComputedPcrId(IAtsWorkItem workItem) {
      return null;
   }

   /**
    * 5-9 character short name for UI and display purposes
    */
   public default String getArtifactTypeShortName(IAtsTeamWorkflow teamWf) {
      return null;
   }

   public default String getBranchName(IAtsTeamWorkflow teamWf, String defaultBranchName) {
      return null;
   }

   public boolean isResponsibleFor(IAtsWorkItem workItem);
}

Back to the top