Subversion Repositories DevTools

Rev

Rev 7155 | Rev 7176 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 7155 Rev 7164
Line 11... Line 11...
11
import java.util.Iterator;
11
import java.util.Iterator;
12
 
12
 
13
/**entity class holding build exclusion data
13
/**entity class holding build exclusion data
14
 * 
14
 * 
15
 * There are three types of exclusion
15
 * There are three types of exclusion
16
 * Package Errors. Errors detected during planing. They may go away on the next plan
16
 * Package Errors. Errors detected during planning. They may go away on the next plan
17
 *      These are 'hard' errors
17
 *      These are 'hard' errors
18
 *          Have a rootCase string
18
 *          Have a rootCase string
19
 *          Have a null rootId
19
 *          Have a null rootId
20
 *          
20
 *          
21
 * Build Errors
21
 * Build Errors
Line 24... Line 24...
24
 *          Have a null rootId
24
 *          Have a null rootId
25
 *          Have a non-null root_file
25
 *          Have a non-null root_file
26
 *          
26
 *          
27
 *  Indirect errors
27
 *  Indirect errors
28
 *      These are packages that depend on excluded packages
28
 *      These are packages that depend on excluded packages
29
 *          Will have a non-null rootId          
29
 *          Will have a non-null rootId
-
 
30
 *          Will be recalculated on each planning cycle          
30
 * 
31
 * 
31
 */
32
 */
32
public class BuildExclusion
33
public class BuildExclusion
33
{
34
{
34
  /**Logger
35
  /**Logger
Line 308... Line 309...
308
      //
309
      //
309
      //    Only process entries that are direct failures of ripple engine detected failure
310
      //    Only process entries that are direct failures of ripple engine detected failure
310
      //    Do not process entries that are indirectly excluded as this will cause an email storm
311
      //    Do not process entries that are indirectly excluded as this will cause an email storm
311
      //    Direct build failure: 
312
      //    Direct build failure: 
312
      //        Have no RootId and have a rootCause
313
      //        Have no RootId and have a rootCause
-
 
314
      //        Special handling for rippleStop - do not send emails
313
      //
315
      //
314
      if ( isAPackageError() )
316
      if ( isAPackageError() && mRootId != -2 )
315
      {
317
      {
316
        //  Locate the associated package entry
318
        //  Locate the associated package entry
317
        Package pkg= rippleEngine.mReleaseManager.findPackage(mId, packageCollection);
319
        Package pkg= rippleEngine.mReleaseManager.findPackage(mId, packageCollection);
318
        
320
        
319
        if ( pkg != ReleaseManager.NULL_PACKAGE )
321
        if ( pkg != ReleaseManager.NULL_PACKAGE )