public interface BugtrackingConnector
Bugtracking system registration can be done via BugtrackingConnector.Registration
.
@BugtrackingConnector.Registration ( id = "foo.bar.MyConnector", displayName ="My Connector", tooltip = "This is My Connector") public class MyConnector extends BugtrackingConnector { ... }
Modifier and Type | Interface and Description |
---|---|
static interface |
BugtrackingConnector.Registration
Register a BugtrackingConnector in the IDE.
|
Modifier and Type | Method and Description |
---|---|
Repository |
createRepository()
Called to create a new, not yet initialized, repository instance.
|
Repository |
createRepository(RepositoryInfo info)
Called to create a repository instance based on already existing data - either created in a previous session,
or provided by other means - e.g from a maven pom file.
|
Repository createRepository()
BugtrackingConnector.createRepository(org.netbeans.modules.bugtracking.spi.RepositoryInfo)
.
The to be returned Repository
instance can be obtained via
BugtrackingSupport.createRepository(java.lang.Object, org.netbeans.modules.bugtracking.spi.IssueStatusProvider, org.netbeans.modules.bugtracking.spi.IssueScheduleProvider, org.netbeans.modules.bugtracking.spi.IssuePriorityProvider, org.netbeans.modules.bugtracking.spi.IssueFinder)
in which scope the implementation particular repository representation is
coupled with provider implementations giving access to the plugin internal data.
See also RepositoryController
on how the interaction with the repository UI
is handled.
BugtrackingSupport
,
BugtrackingSupport.createRepository(java.lang.Object, org.netbeans.modules.bugtracking.spi.IssueStatusProvider, org.netbeans.modules.bugtracking.spi.IssueScheduleProvider, org.netbeans.modules.bugtracking.spi.IssuePriorityProvider, org.netbeans.modules.bugtracking.spi.IssueFinder)
Repository createRepository(RepositoryInfo info)
The to be returned Repository
instance can be obtained via
BugtrackingSupport.createRepository(java.lang.Object, org.netbeans.modules.bugtracking.spi.IssueStatusProvider, org.netbeans.modules.bugtracking.spi.IssueScheduleProvider, org.netbeans.modules.bugtracking.spi.IssuePriorityProvider, org.netbeans.modules.bugtracking.spi.IssueFinder)
in which scope the implementation particular repository representation is
coupled with provider implementations giving access to the plugin internal data.
See also RepositoryController
on how the interaction with the repository UI
is handled.
info
- repository information based on which the repository should be createdRepository
instance.BugtrackingSupport
,
BugtrackingSupport.createRepository(java.lang.Object, org.netbeans.modules.bugtracking.spi.IssueStatusProvider, org.netbeans.modules.bugtracking.spi.IssueScheduleProvider, org.netbeans.modules.bugtracking.spi.IssuePriorityProvider, org.netbeans.modules.bugtracking.spi.IssueFinder)