releasesSummary = new ArrayList<DistributedReleaseSummary>();
for ( Map<String, Object> release : releases )
{
DistributedReleaseSummary summary = new DistributedReleaseSummary();
summary.setReleaseId( DistributedReleaseUtil.getReleaseId( release ) );
summary.setReleaseGoal( DistributedReleaseUtil.getReleaseGoal( release ) );
summary.setBuildAgentUrl( DistributedReleaseUtil.getBuildAgentUrl( release ) );
summary.setProjectId( DistributedReleaseUtil.getProjectId( release ) );
releasesSummary.add( summary );
}
return SUCCESS;