org.cert.cc.jira.atc.config
Class ATCConfiguration

java.lang.Object
  extended by org.cert.cc.jira.atc.config.ATCConfiguration

public final class ATCConfiguration
extends Object

ATCConfiguration holds all of the ProjectConfigurations in a single place.

© 2010 Carnegie Mellon University

Author:
Steve Scholnick

Constructor Summary
ATCConfiguration()
          Constructor
 
Method Summary
 void add(ProjectConfiguration config)
          Adds a new ProjectConfiguration
 Set<ProjectConfiguration> getAllProjectConfiguration()
          Returns all of the ProjectConfigurations.
 ProjectConfiguration getProjectConfiguration(Project project)
          Returns a ProjectConfiguration specified by name
 String toString()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ATCConfiguration

public ATCConfiguration()
Constructor

Method Detail

add

public void add(ProjectConfiguration config)
Adds a new ProjectConfiguration


getAllProjectConfiguration

public Set<ProjectConfiguration> getAllProjectConfiguration()
Returns all of the ProjectConfigurations. The catch-all configuration ,if one exists, will always be returned last.

Returns:
All ProjectConfigurations

getProjectConfiguration

public ProjectConfiguration getProjectConfiguration(Project project)
Returns a ProjectConfiguration specified by name

Parameters:
project - Project to be matched
Returns:
ProjectConfiguration

toString

public String toString()

Overrides:
toString in class Object


Copyright © 2012 Carnegie Mellon University