public class PrimaryInstanceMetadataAction extends InvisibleAction implements Serializable
SCMHead / SCMSource as being a primary instance. Some examples of how this metadata is
intended to be used:
SCMHead from
SCMSource.fetchActions(SCMHead, SCMHeadEvent, TaskListener) to indicate that it is the "primary" head.SCMNavigator could use this action to differentiate forks from their primary
whereby SCMSource.fetchActions(SCMSourceEvent, TaskListener) would return an instance of this action to
identify the primary source.
An alternative option is that a GitHub specific SCMSource could use SCMCategory to differentiate
the SCMHead instances that originate from a fork and use
SCMSource.fetchActions(SCMHead, SCMHeadEvent, TaskListener) to mark the primary branches from each "source".
1.x, 2.x, and 3.x release lines. *
SCMHead instances with this metadataSCMSource instances with this metadataSCMCategory there can be zero, one or many SCMHead/SCMSource
instances with this metadataSCMCategory. Categories
convey pseudo-type information from the source / navigator. The categorizations that a source / navigator chooses
to implement may be such that they are orthogonal to primary instance or they may be complementary with primary
instance. The decision as to which of these is appropriate for a specific SCM system is out of scope for the SCM API.
| Constructor and Description |
|---|
PrimaryInstanceMetadataAction() |
getDisplayName, getIconFileName, getUrlNameCopyright © 2016–2019. All rights reserved.