jetbrains.buildServer.issueTracker
Interface IssueProviderFactory

All Superinterfaces:
TeamCityExtension
All Known Implementing Classes:
AbstractIssueProviderFactory

public interface IssueProviderFactory
extends TeamCityExtension

Represents a factory for issue provider creation. This interface is intended to be implemented by TeamCity plugins (Jira, Charisma, Bugzilla, etc).

Since:
5.0
Author:
Maxim Podkolzine (maxim.podkolzine@jetbrains.com)
See Also:
IssueProvider

Method Summary
 IssueProvider createProvider()
          Instantiates and returns a new issue provider (in fact, SIssueProvider).
 java.lang.String getType()
          Returns a short string denoting a type of a factory (e.g.
 

Method Detail

getType

@NotNull
java.lang.String getType()
Returns a short string denoting a type of a factory (e.g. "jira", "youtrack", etc.). The type should consist of alphanumeric symbols and start with a letter.

Returns:
a factory type

createProvider

@NotNull
IssueProvider createProvider()
Instantiates and returns a new issue provider (in fact, SIssueProvider).

Returns:
a new provider instance