de.smartics.maven.issues
Interface RepositoryFacadeFactory

Package class diagram package RepositoryFacadeFactory
All Known Implementing Classes:
DefaultRepositoryFacadeFactory

public interface RepositoryFacadeFactory

Interface for factories creating facades to access remote issue management systems.

Author:
Robert Reiner

Method Summary
 RepositoryFacade create(IssueManagementConfig config)
          Creates a facade to access an issue management system with the given identifier.
 boolean supports(String issueManagementId)
          Checks if the factory supports the creation of a facade for the given issue management ID.
 

Method Detail

supports

boolean supports(String issueManagementId)
Checks if the factory supports the creation of a facade for the given issue management ID.

Parameters:
issueManagementId - the identifier provided in the Maven POM to identify the issue management system.
Returns:
true if the issue management system specified by the given issueManagementId is supported by this factory, false otherwise.

create

RepositoryFacade create(IssueManagementConfig config)
                        throws IllegalArgumentException
Creates a facade to access an issue management system with the given identifier.

Parameters:
config - the configuration to initialize the facade to access a certain issue management system. It specifies in addition to other vital information the identifier provided in the Maven POM.
Returns:
the created facade.
Throws:
IllegalArgumentException - if the factory cannot create a facade for the issue management system specified by the given Configuration config.


Copyright © 2008-2013 Kronseder & Reiner GmbH - smartics. All Rights Reserved.