blob: 90d8c71d27a670185a2450c7b3cf655d92b95b34 (
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
|
/*******************************************************************************
* Copyright (c) 2004, 2007 Boeing.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public 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;
import org.eclipse.osee.framework.jdk.core.type.OseeCoreException;
/**
* @author Donald G. Dunne
*/
public interface ITeamWorkflowProvider {
public String getWorkflowDefinitionId(IAtsWorkItem workItem) throws OseeCoreException;
public String getRelatedTaskWorkflowDefinitionId(IAtsTeamWorkflow teamWf) throws OseeCoreException;
/**
* Assigned or computed Id that will show at the top of the editor. Default is <ATS Id> - <Legacy PCR Id (if any)>
*/
public String getComputedPcrId(IAtsWorkItem workItem) throws OseeCoreException;
/**
* 5-9 character short name for UI and display purposes
*/
public String getArtifactTypeShortName(IAtsTeamWorkflow teamWf);
public String getBranchName(IAtsTeamWorkflow teamWf, String defaultBranchName);
public boolean isResponsibleFor(IAtsWorkItem workItem);
}
|