private List<BuildQueue> getBuildQueues( int start, int end )
{
List<BuildQueue> buildQueues = new ArrayList<BuildQueue>();
for ( int i = start; i <= end; i++ )
{
BuildQueue buildQueue = new BuildQueue();
buildQueue.setId( i );
if ( i == 1 )
{
buildQueue.setName( ConfigurationService.DEFAULT_BUILD_QUEUE_NAME );
}
else
{
buildQueue.setName( "BUILD_QUEUE_" + String.valueOf( i ) );
}
buildQueues.add( buildQueue );
}
return buildQueues;