Subversion Repositories DevTools

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
814 mhunt 1
package com.erggroup.buildtool.ripple;
2
 
3
import java.util.Iterator;
4
 
5
import org.apache.log4j.Logger;
6
 
7
/**entity class representing how derived files are produced on a platform
8
 * recognises that a package may have different build standards on different platforms
9
 * for example, jats may be used to build production code on a win32 build machine and debug code on a solaris build machine
10
 * potentially supports mixing build standards
11
 * for example, jats may be used to build code on one build machine, and erg ant on another
12
 * this is not supported in the release manager 
13
 */
14
public class BuildStandard
15
{
16
  /**Logger
17
   * @attribute
18
   */
19
  private static final Logger mLogger = Logger.getLogger(BuildStandard.class);
20
 
21
  /**engine associated with the baseline in which this packages build standard is owned
22
   * @aggregation composite
23
   */
24
  private RippleEngine mRippleEngine;
25
 
26
  /**when true, the intent is to deliver Win32 derived content
27
   * in a daemon world, will be built on all Win32 based build machines associated with the baseline
28
   * will be accessed by Package::isWin32Built
29
   * @attribute
30
   */
31
  private boolean mWin32 = true;
32
 
33
  /**when true, the intent is to deliver Solaris derived content
34
   * in a daemon world, will be built on all Solaris based build machines associated with the baseline
35
   * will be accessed by Package::isSolarisBuilt
36
   * @attribute
37
   */
38
  private boolean mSolaris = false;
39
 
40
  /**when true, the intent is to deliver Linux derived content
41
   * in a daemon world, will be built on all Linux based build machines associated with the baseline
42
   * will be accessed by Package::isLinuxBuilt
43
   * @attribute
44
   */
45
  private boolean mLinux = false;
46
 
47
  /**when true, the intent is to deliver generic content
48
   * in a daemon build, will be built only on the build machine configured to run the Master build thread associated with the baseline
49
   * @attribute
50
   */
51
  private boolean mGeneric = false;
52
 
53
  /**when true, the intent is to deliver production code using jats
54
   * @attribute
55
   */
56
  private boolean mProduction = true;
57
 
58
  /**when true, the intent is to deliver debug code using jats
59
   * @attribute
60
   */
61
  private boolean mDebug = false;
62
 
63
  /**when true, the intent is to deliver java 1.4 built code
64
   * this is realized by using java 1.4 to launch ant
65
   * @attribute
66
   */
67
  private boolean mJava1_4 = false;
68
 
69
  /**when true, the intent is to deliver java 1.5 built code
70
   * this is realized by using java 1.5 to launch ant
71
   * @attribute
72
   */
73
  private boolean mJava1_5 = false;
74
 
75
  /**when true, the intent is to deliver java 1.6 built code
76
   * this is realized by using java 1.6 to launch ant
77
   * @attribute
78
   */
79
  private boolean mJava1_6 = false;
80
 
4123 dpurdie 81
  /**when true, the intent is to deliver java 1.7 built code this 
82
   * is realized by using java 1.7 to launch ant 
83
   * @attribute
84
   */
85
  private boolean mJava1_7 = false;
86
 
814 mhunt 87
  private boolean mJatsNone = false;
88
 
89
  private boolean mAntNone = false;
908 mhunt 90
 
91
  private boolean mSupported = true;
814 mhunt 92
 
93
  /**constructor
94
   */
95
  BuildStandard(RippleEngine rippleEngine)
96
  {
97
    mLogger.debug("BuildStandard");
98
    mRippleEngine = rippleEngine;
99
  }
100
 
908 mhunt 101
  /**constructor
814 mhunt 102
   */
4280 dpurdie 103
  BuildStandard(RippleEngine rippleEngine, String buildMachineFamily, String buildStandardAddendum)
814 mhunt 104
  {
908 mhunt 105
    mLogger.debug("BuildStandard");
106
    mRippleEngine = rippleEngine;
107
 
4280 dpurdie 108
    if ( buildMachineFamily.compareTo("Solaris") == 0 )
908 mhunt 109
    {
110
      setSolaris();
111
    }
4280 dpurdie 112
    else if ( buildMachineFamily.compareTo("Win32") == 0 )
908 mhunt 113
    {
114
      setWin32();
115
    }
4280 dpurdie 116
    else if ( buildMachineFamily.compareTo("Linux") == 0 )
908 mhunt 117
    {
118
      setLinux();
119
    }
4280 dpurdie 120
    else if ( buildMachineFamily.compareTo("Generic") == 0 )
908 mhunt 121
    {
122
      setGeneric();
123
    }
124
    else
125
    {
126
      mSupported = false;
127
    }
128
 
129
    if ( buildStandardAddendum.compareTo("Production") == 0 )
130
    {
131
      setProduction();
132
    }
133
    else if ( buildStandardAddendum.compareTo("Debug") == 0 )
134
    {
135
      setDebug();
136
    }
137
    else if ( buildStandardAddendum.compareTo("Production and Debug") == 0 )
138
    {
139
      setAll();
140
    }
141
    else if ( buildStandardAddendum.compareTo("Java 1.4") == 0 )
142
    {
143
      set1_4();
144
    }
145
    else if ( buildStandardAddendum.compareTo("Java 1.5") == 0 )
146
    {
147
      set1_5();
148
    }
149
    else if ( buildStandardAddendum.compareTo("Java 1.6") == 0 )
150
    {
151
      set1_6();
152
    }
4123 dpurdie 153
    else if ( buildStandardAddendum.compareTo("Java 1.7") == 0 )
154
    {
155
      set1_7();
156
    }
908 mhunt 157
    else
158
    {
159
      mSupported = false;
160
    }
161
  }
162
 
163
  /**returns for xml purposes
164
   * "<platform gbe_machtype="win32"/>",
165
   * "<platform gbe_machtype="solaris10_sparc32"/>"
166
   * "<platform gbe_machtype="solaris10_x86"/>"
167
   * "<platform gbe_machtype="sparc"/>"
168
   * "<platform gbe_machtype="linux_i386"/>"
169
   * 
170
   * returns for non xml purposes
171
   * "win32",
172
   * "solaris10_sparc32"
173
   * "solaris10_x86"
174
   * "sparc"
175
   * "linux_i386"
176
   */
177
  String getPlatform(boolean utf, boolean xml)
178
  {
814 mhunt 179
     mLogger.debug("getPlatform");  
180
     String retVal = new String();
181
 
182
     if (mGeneric && mRippleEngine.mDaemon)
183
     {
184
       mLogger.info("getPlatform mGeneric && mRippleEngine.mDaemon");
185
 
908 mhunt 186
       if ( xml )
187
       {
4280 dpurdie 188
         retVal = "    <platform gbe_machtype=\"";
908 mhunt 189
       }
190
 
814 mhunt 191
       if ( utf )
192
       {
193
         mLogger.info("getPlatform utf");
194
         // avoid reliance on environment variables
195
         retVal += "win32\"/>";
196
       }
197
       else
198
       {
199
         // Package.mGenericMachtype has been checked to be not null
200
         if ( Package.mGenericMachtype.compareTo("win32") == 0
201
           || Package.mGenericMachtype.compareTo("solaris10_sparc32") == 0
202
           || Package.mGenericMachtype.compareTo("solaris10_x86") == 0
203
           || Package.mGenericMachtype.compareTo("sparc") == 0
204
           || Package.mGenericMachtype.compareTo("linux_i386") == 0 )
205
         {
206
           retVal += Package.mGenericMachtype;
908 mhunt 207
 
208
           if ( xml )
209
           {
210
             retVal += "\"/>";
211
           }
814 mhunt 212
         }
213
       }
214
     }
215
     else if (mGeneric)
216
     {
217
       mLogger.info("getPlatform mGeneric");
864 mhunt 218
       for (Iterator<String> it = mRippleEngine.mGbeMachtypeCollection.iterator(); it.hasNext(); )
814 mhunt 219
       {
864 mhunt 220
         String gbemachtype = it.next();
814 mhunt 221
 
222
         if ( gbemachtype.compareTo("win32") == 0 ||
223
              gbemachtype.compareTo("linux_i386") == 0 ||
224
              gbemachtype.compareTo("sparc") == 0 ||
225
              gbemachtype.compareTo("solaris10_x86") == 0 ||
226
              gbemachtype.compareTo("solaris10_sparc32") == 0 )
227
         {
228
           if ( retVal.length() > 0 )
229
           {
230
             retVal += System.getProperty("line.separator");
231
           }
908 mhunt 232
 
233
           if ( xml )
234
           {
4280 dpurdie 235
             retVal += "    <platform gbe_machtype=\"";
908 mhunt 236
           }
237
 
814 mhunt 238
           retVal += gbemachtype;
908 mhunt 239
 
240
           if ( xml )
241
           {
242
             retVal += "\"/>";
243
           }
814 mhunt 244
         }
245
       }
246
     }
247
     else if (mWin32)
248
     {
249
       mLogger.info("getPlatform mWin32");
864 mhunt 250
       for (Iterator<String> it = mRippleEngine.mGbeMachtypeCollection.iterator(); it.hasNext(); )
814 mhunt 251
       {
864 mhunt 252
         String gbemachtype = it.next();
814 mhunt 253
 
254
         if ( gbemachtype.compareTo("win32") == 0 )
255
         {
908 mhunt 256
           if ( xml )
257
           {
4280 dpurdie 258
             retVal = "    <platform gbe_machtype=\"win32\"/>";
908 mhunt 259
           }
260
           else
261
           {
262
             retVal = "win32";
263
           }
814 mhunt 264
           break;
265
         }
266
       }
267
     }
268
     else if (mSolaris)
269
     {
270
       mLogger.info("getPlatform mSolaris");
864 mhunt 271
       for (Iterator<String> it = mRippleEngine.mGbeMachtypeCollection.iterator(); it.hasNext(); )
814 mhunt 272
       {
864 mhunt 273
         String gbemachtype = it.next();
814 mhunt 274
 
275
         if ( gbemachtype.compareTo("sparc") == 0 || gbemachtype.compareTo("solaris10_x86") == 0 || gbemachtype.compareTo("solaris10_sparc32") == 0 )
276
         {
277
           if ( retVal.length() > 0 )
278
           {
908 mhunt 279
             if ( xml )
280
             {
281
               retVal += System.getProperty("line.separator");
282
             }
283
             else
284
             {
285
               retVal += "<br>";
286
             }
814 mhunt 287
           }
908 mhunt 288
 
289
           if ( xml )
290
           {
4280 dpurdie 291
             retVal += "    <platform gbe_machtype=\"";
908 mhunt 292
           }
293
 
814 mhunt 294
           retVal += gbemachtype;
908 mhunt 295
 
296
           if ( xml )
297
           {
298
             retVal += "\"/>";
299
           }
814 mhunt 300
         }
301
       }
302
     }
303
     else
304
     {
305
       mLogger.info("getPlatform mLinux");
864 mhunt 306
       for (Iterator<String> it = mRippleEngine.mGbeMachtypeCollection.iterator(); it.hasNext(); )
814 mhunt 307
       {
864 mhunt 308
         String gbemachtype = it.next();
814 mhunt 309
 
310
         if ( gbemachtype.compareTo("linux_i386") == 0 )
311
         {
908 mhunt 312
           if ( xml )
313
           {
4280 dpurdie 314
             retVal = "    <platform gbe_machtype=\"linux_i386\"/>";
908 mhunt 315
           }
316
           else
317
           {
318
             retVal = "linux_i386";
319
           }
814 mhunt 320
           break;
321
         }
322
       }
323
     }
324
 
325
     mLogger.info("getPlatform returned " + retVal);
326
     return retVal;
327
   }
328
 
908 mhunt 329
  /**returns for xml purposes
330
   * "<ant java="1.4"/>",
331
   * "<ant java="1.5"/>",
332
   * "<ant java="1.6"/>",
333
   * "<ant java="none"/>",
334
   * "<jats target="production"/>",
335
   * "<jats target="debug"/>",
336
   * "<jats target="all"/>",
337
   * "<jats target="none"/>"
338
   * 
339
   * returns for non xml purposes
340
   * "ant java 1.4",
341
   * "ant java 1.5",
342
   * "ant java 1.6",
4123 dpurdie 343
   * "ant java 1.7", 
344
   * "ant none", 
345
   * "jats production", 
346
   * "jats debug", 
347
   * "jats all", 
908 mhunt 348
   * "jats none"
814 mhunt 349
   */
908 mhunt 350
  String getBuildStandard(boolean utf, boolean xml)
814 mhunt 351
  {
352
    mLogger.debug("getBuildStandard");
353
    boolean validPlatform = false;
354
    int numberOfPlatforms = 0;
355
    String retVal = new String();
356
 
357
    if (mGeneric && mRippleEngine.mDaemon)
358
    {
359
      mLogger.info("getBuildStandard mGeneric && mRippleEngine.mDaemon");
360
 
361
      if ( utf )
362
      {
363
        mLogger.info("getBuildStandard utf");
364
        // avoid reliance on environment variables
365
        validPlatform = true;
366
        numberOfPlatforms = 1;
367
      }
368
      else
369
      {
370
        // Package.mGenericMachtype has been checked to be not null
371
        if ( Package.mGenericMachtype.compareTo("win32") == 0
372
          || Package.mGenericMachtype.compareTo("solaris10_sparc32") == 0
373
          || Package.mGenericMachtype.compareTo("solaris10_x86") == 0
374
          || Package.mGenericMachtype.compareTo("sparc") == 0
375
          || Package.mGenericMachtype.compareTo("linux_i386") == 0 )
376
        {
377
          validPlatform = true;
378
          numberOfPlatforms = 1;
379
        }
380
      }
381
    }
382
    else if (mGeneric)
383
    {
384
      mLogger.info("getBuildStandard mGeneric");
864 mhunt 385
      for (Iterator<String> it = mRippleEngine.mGbeMachtypeCollection.iterator(); it.hasNext(); )
814 mhunt 386
      {
864 mhunt 387
        String gbemachtype = it.next();
814 mhunt 388
 
389
        if ( gbemachtype.compareTo("win32") == 0 ||
390
             gbemachtype.compareTo("linux_i386") == 0 ||
391
             gbemachtype.compareTo("sparc") == 0 ||
392
             gbemachtype.compareTo("solaris10_x86") == 0 ||
393
             gbemachtype.compareTo("solaris10_sparc32") == 0 )
394
        {
395
          validPlatform = true;
396
          numberOfPlatforms++;
397
        }
398
      }
399
    }
400
    else if (mWin32)
401
    {
402
      mLogger.info("getBuildStandard mWin32");
864 mhunt 403
      for (Iterator<String> it = mRippleEngine.mGbeMachtypeCollection.iterator(); it.hasNext(); )
814 mhunt 404
      {
864 mhunt 405
        String gbemachtype = it.next();
814 mhunt 406
 
407
        if ( gbemachtype.compareTo("win32") == 0 )
408
        {
409
          validPlatform = true;
410
          numberOfPlatforms = 1;
411
          break;
412
        }
413
      }
414
    }
415
    else if (mSolaris)
416
    {
417
      mLogger.info("getBuildStandard mSolaris");
864 mhunt 418
      for (Iterator<String> it = mRippleEngine.mGbeMachtypeCollection.iterator(); it.hasNext(); )
814 mhunt 419
      {
864 mhunt 420
        String gbemachtype = it.next();
814 mhunt 421
 
422
        if ( gbemachtype.compareTo("sparc") == 0 || gbemachtype.compareTo("solaris10_x86") == 0 || gbemachtype.compareTo("solaris10_sparc32") == 0 )
423
        {
424
          validPlatform = true;
425
          numberOfPlatforms++;
426
        }
427
      }
428
    }
429
    else
430
    {
431
      mLogger.info("getBuildStandard mLinux");
864 mhunt 432
      for (Iterator<String> it = mRippleEngine.mGbeMachtypeCollection.iterator(); it.hasNext(); )
814 mhunt 433
      {
864 mhunt 434
        String gbemachtype = it.next();
814 mhunt 435
 
436
        if ( gbemachtype.compareTo("linux_i386") == 0 )
437
        {
438
          validPlatform = true;
439
          numberOfPlatforms = 1;
440
          break;
441
        }
442
      }
443
    }
444
 
445
    if (validPlatform)
446
    {
447
 
448
      if (mJava1_4)
449
      {
908 mhunt 450
        if ( xml )
451
        {
4280 dpurdie 452
          retVal = "    <ant java=\"1.4\"/>";
908 mhunt 453
        }
454
        else
455
        {
456
          retVal = "ant java 1.4";
457
        }
814 mhunt 458
      }
459
      else if (mJava1_5)
460
      {
908 mhunt 461
        if ( xml )
462
        {
4280 dpurdie 463
          retVal = "    <ant java=\"1.5\"/>";
908 mhunt 464
        }
465
        else
466
        {
467
          retVal = "ant java 1.5";
468
        }
814 mhunt 469
      }
470
      else if (mJava1_6)
471
      {
908 mhunt 472
        if ( xml )
473
        {
4280 dpurdie 474
          retVal = "    <ant java=\"1.6\"/>";
908 mhunt 475
        }
476
        else
477
        {
478
          retVal = "ant java 1.6";
479
        }
814 mhunt 480
      }
4123 dpurdie 481
      else if (mJava1_7)
482
      {
483
        if ( xml )
484
        {
4280 dpurdie 485
          retVal = "    <ant java=\"1.7\"/>";
4123 dpurdie 486
        }
487
        else
488
        {
489
          retVal = "ant java 1.7";
490
        }
491
      }
814 mhunt 492
      else if (mAntNone)
493
      {
908 mhunt 494
        if ( xml )
495
        {
4280 dpurdie 496
          retVal = "    <ant java=\"none\"/>";
908 mhunt 497
        }
498
        else
499
        {
500
          retVal = "ant none";
501
        }
814 mhunt 502
      }
503
      else if (mJatsNone)
504
      {
908 mhunt 505
        if ( xml )
506
        {
4280 dpurdie 507
          retVal = "    <jats target=\"none\"/>";
908 mhunt 508
        }
509
        else
510
        {
511
          retVal = "jats none";
512
        }
814 mhunt 513
      }
514
      else
515
      {
516
        if (mProduction)
517
        {
518
          if (mDebug)
519
          {
908 mhunt 520
            if ( xml )
521
            {
4280 dpurdie 522
              retVal = "    <jats target=\"all\"/>";
908 mhunt 523
            }
524
            else
525
            {
526
              retVal = "jats all";
527
            }
814 mhunt 528
          }
529
          else
530
          {
908 mhunt 531
            if ( xml )
532
            {
4280 dpurdie 533
              retVal = "    <jats target=\"production\"/>";
908 mhunt 534
            }
535
            else
536
            {
537
              retVal = "jats production";
538
            }
814 mhunt 539
          }
540
        }
541
        else
542
        {
908 mhunt 543
          if ( xml )
544
          {
4280 dpurdie 545
            retVal = "    <jats target=\"debug\"/>";
908 mhunt 546
          }
547
          else
548
          {
549
            retVal = "jats debug";
550
          }
814 mhunt 551
        }
552
      }
908 mhunt 553
 
814 mhunt 554
      String line = new String(retVal);
555
 
556
      for ( int i = 1; i < numberOfPlatforms; i++ )
557
      {
908 mhunt 558
        if ( xml )
559
        {
560
          retVal += System.getProperty("line.separator");
561
        }
562
        else
563
        {
564
          retVal += "<br>";
565
        }
814 mhunt 566
        retVal += line;
567
      }
568
    }
569
 
570
    mLogger.info("getBuildStandard returned " + retVal);
571
    return retVal;
572
  }
573
 
4123 dpurdie 574
  /** reset the parameters associated with the build standard
575
   */
576
  void resetBuildStandard()
577
  {
578
      mDebug = false;
579
      mProduction = false;
580
      mJava1_4 = false;
581
      mJava1_5 = false;
582
      mJava1_6 = false;
583
      mJava1_7 = false;
584
      mAntNone = false;
585
      mJatsNone = false;
586
  }
587
 
814 mhunt 588
  /**sets mDebug true, mProduction false, mJava1_4 false, mJava1_5 false, mJava1_6 false
589
   */
590
  void setDebug()
591
  {
592
    mLogger.debug("setDebug");
4123 dpurdie 593
    resetBuildStandard();
814 mhunt 594
    mDebug = true;
595
  }
596
 
597
  /**sets mDebug false, mProduction true, mJava1_4 false, mJava1_5 false, mJava1_6 false
598
   */
599
  void setProduction()
600
  {
601
    mLogger.debug("setProduction");
4123 dpurdie 602
    resetBuildStandard();
814 mhunt 603
    mProduction = true;
604
  }
605
 
606
  /**sets mDebug true, mProduction true, mJava1_4 false, mJava1_5 false, mJava1_6 false
607
   */
608
  void setAll()
609
  {
610
    mLogger.debug("setAll");
4123 dpurdie 611
    resetBuildStandard();
814 mhunt 612
    mDebug = true;
613
    mProduction = true;
614
  }
615
 
616
  /**sets mDebug false, mProduction false, mJava1_4 true, mJava1_5 false, mJava1_6 false
617
   */
618
  void set1_4()
619
  {
620
    mLogger.debug("set1_4");
4123 dpurdie 621
    resetBuildStandard();
814 mhunt 622
    mJava1_4 = true;
623
  }
624
 
625
  /**sets mDebug false, mProduction false, mJava1_4 false, mJava1_5 true, mJava1_6 false
626
   */
627
  void set1_5()
628
  {
629
    mLogger.debug("set1_5");
4123 dpurdie 630
    resetBuildStandard();
814 mhunt 631
    mJava1_5 = true;
632
  }
633
 
634
  /**sets mDebug false, mProduction false, mJava1_4 false, mJava1_5 false, mJava1_6 true
635
   */
636
   void set1_6()
637
   {
638
     mLogger.debug("set1_6");
4123 dpurdie 639
     resetBuildStandard();
814 mhunt 640
     mJava1_6 = true;
641
   }
642
 
4123 dpurdie 643
  /**sets mDebug false, mProduction false, mJava1_4 false, 
644
   * mJava1_5 false, mJava1_7 true 
645
   */
646
   void set1_7()
647
   {
648
     mLogger.debug("set1_7");
649
     resetBuildStandard();
650
     mJava1_7 = true;
651
   }
652
 
653
 
814 mhunt 654
  void setAntNone()
655
  {
656
    mLogger.debug("setAntNone");
4123 dpurdie 657
    resetBuildStandard();
814 mhunt 658
    mAntNone = true;
659
  }
660
 
661
  void setJatsNone()
662
  {
663
    mLogger.debug("setJatsNone");
4123 dpurdie 664
    resetBuildStandard();
814 mhunt 665
    mJatsNone = true;
666
  }
667
 
4123 dpurdie 668
  /** reset parameters associated with config of the build machine
669
  */
4280 dpurdie 670
  void resetBuildMachineFamily()
4123 dpurdie 671
  {
672
      mLinux = false;
673
      mSolaris = false;
674
      mWin32 = false;
675
      mGeneric = false;
676
  }
677
 
814 mhunt 678
  /**sets mGeneric true
679
   */
680
  void setGeneric()
681
  {
682
    mLogger.debug("setGeneric");
4280 dpurdie 683
    resetBuildMachineFamily();
814 mhunt 684
    mGeneric = true;
685
  }
686
 
687
  /**sets mLinux true, mSolaris false, mWin32 false
688
   */
689
  void setLinux()
690
  {
691
    mLogger.debug("setLinux");
4280 dpurdie 692
    resetBuildMachineFamily();
814 mhunt 693
    mLinux = true;
694
  }
695
 
696
  /**sets mLinux false, mSolaris true, mWin32 false
697
   */
698
  void setSolaris()
699
  {
700
    mLogger.debug("setSolaris");
4280 dpurdie 701
    resetBuildMachineFamily();
814 mhunt 702
    mSolaris = true;
703
  }
704
 
705
  /**sets mLinux false, mSolaris false, mWin32 true
706
   */
707
  void setWin32()
708
  {
709
    mLogger.debug("setWin32");
4280 dpurdie 710
    resetBuildMachineFamily();
814 mhunt 711
    mWin32 = true;
712
  }
713
 
714
  /**sets mGeneric false
715
   */
716
  void clearGeneric()
717
  {
718
    mLogger.debug("clearGeneric");
719
    mGeneric = false;
720
  }
721
 
722
  /**accessor method
723
   */
724
  boolean getWin32()
725
  {
726
    mLogger.debug("getWin32");
727
    mLogger.info("getWin32 returned " + mWin32);
728
    return mWin32;
729
  }
730
 
731
  /**accessor method
732
   */
733
  boolean getGeneric()
734
  {
735
    mLogger.debug("getGeneric");
736
    mLogger.info("getGeneric returned " + mGeneric);
737
    return mGeneric;
738
  }
739
 
740
  /**accessor method
741
   */
742
  boolean getSolaris()
743
  {
744
    mLogger.debug("getSolaris");
745
    mLogger.info("getSolaris returned " + mSolaris);
746
    return mSolaris;
747
  }
748
 
749
  /**accessor method
750
   */
751
  boolean getLinux()
752
  {
753
    mLogger.debug("getLinux");
754
    mLogger.info("getLinux returned " + mLinux);
755
    return mLinux;
756
  }
908 mhunt 757
 
758
  /**accessor method
759
   */
760
  boolean supportedBuildStandard()
761
  {
762
    mLogger.debug("supportedBuildStandard");
763
    mLogger.info("supportedBuildStandard returned " + mSupported);
764
    return mSupported;
765
  }
814 mhunt 766
}