Subversion Repositories DevTools

Rev

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