Package com.polarion.alm.tracker
Interface IWorkItemLinkRolesManager
public interface IWorkItemLinkRolesManager
Note that this class would deserve a better name, since the current one is confusing
(it's not managing the link roles, it's managing restrictions on which types
can reference which types with which role.
Design note: additional way of achieving the result would be using the enum option
property feature - defining a standard property e.g. allowed-target-types and maybe
[target-type]-default which will contain the necessary data + providing the semantic
methods on
ILinkRoleOpt
like getAllowedTargetTypes can solve the problem
without this manager class.
Also, placing this manager on ITrackerProject
(where are the other methods
for enum discovery) would make more sense.- Author:
- POLARION SOFTWARE
-
Method Summary
Modifier and TypeMethodDescriptiongetAllowed
(ITrackerProject fromProject, ITypeOpt from, ITypeOpt to) getDefault
(ITrackerProject fromProject, ITypeOpt from, ITypeOpt to)
-
Method Details
-
getAllowed
-
getDefault
-