|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.smartics.maven.issues.factory.DefaultRepositoryFacadeFactory
public class DefaultRepositoryFacadeFactory
Creates a repository facade factory.
A simple hard coded implementation.
Constructor Summary | |
---|---|
DefaultRepositoryFacadeFactory() Default constructor. |
Method Summary | |
---|---|
RepositoryFacade |
create(IssueManagementConfig config) Creates a facade for the given configuration. |
boolean |
supports(String issueManagementId) Checks if the factory supports the creation of a facade for the given issue management ID. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultRepositoryFacadeFactory()
Method Detail |
---|
public RepositoryFacade create(IssueManagementConfig config) throws IllegalArgumentException
create
in interface
RepositoryFacadeFactory
config
- the configuration to create the facade.
IllegalArgumentException
- if no facade can be created that matches the requirements of the given configuration.
public boolean supports(String issueManagementId)
supports
in interface
RepositoryFacadeFactory
issueManagementId
- the identifier provided in the Maven POM to identify the issue management system.
true
if the issue management system specified by the given
issueManagementId
is supported by this factory,
false
otherwise.
RepositoryFacadeFactory.supports(java.lang.String)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |