Matcher matcher = COMPONENT_PATTERN1.matcher( line );
if ( matcher.find() )
{
// Component: (1001) "BogusComponent"
JazzScmProviderRepository jazzRepository = (JazzScmProviderRepository) getRepository();
int componentAlias = Integer.parseInt( matcher.group( 1 ) );
String component = matcher.group( 2 );
if ( getLogger().isDebugEnabled() )
{
getLogger().debug( "Successfully parsed \"Component:\" line:" );
getLogger().debug( " componentAlias = " + componentAlias );
getLogger().debug( " component = " + component );
}
jazzRepository.setComponent( component );
}
matcher = COMPONENT_PATTERN2.matcher( line );
if ( matcher.find() )
{
// Component: (1158) "GPDB" <-> (1157) "GPDBStream"
JazzScmProviderRepository jazzRepository = (JazzScmProviderRepository) getRepository();
int componentAlias = Integer.parseInt( matcher.group( 1 ) );
String component = matcher.group( 2 );
if ( getLogger().isDebugEnabled() )
{
getLogger().debug( "Successfully parsed \"Component:\" line:" );
getLogger().debug( " componentAlias = " + componentAlias );
getLogger().debug( " component = " + component );
}
jazzRepository.setComponent( component );
}
}