Copyright @ 2002 SAP. All Rights Reserved.

com.sap.tc.complib
Class PublicPart.Purpose

java.lang.Object
  |
  +--com.sap.tc.complib.PublicPart.Purpose
Enclosing class:
PublicPart

public static class PublicPart.Purpose
extends java.lang.Object

Helper class to define the purpose of public parts


Field Summary
static PublicPart.Purpose ASSEMBLY
          Public part needed for packing into the result of the using component
static PublicPart.Purpose COMPILATION
          Public part needed for compilation of the using component
static PublicPart.Purpose INFRASTRUCTURE
          Public part needed as buildplugin of the using component
 
Method Summary
 java.lang.String toString()
          Returns a textual representation of the purpose
static PublicPart.Purpose valueOf(java.lang.String purpose)
          Returns a purpose matching the given string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

COMPILATION

public static final PublicPart.Purpose COMPILATION
Public part needed for compilation of the using component

ASSEMBLY

public static final PublicPart.Purpose ASSEMBLY
Public part needed for packing into the result of the using component

INFRASTRUCTURE

public static final PublicPart.Purpose INFRASTRUCTURE
Public part needed as buildplugin of the using component
Method Detail

toString

public java.lang.String toString()
Returns a textual representation of the purpose
Overrides:
toString in class java.lang.Object

valueOf

public static PublicPart.Purpose valueOf(java.lang.String purpose)
Returns a purpose matching the given string.
Parameters:
purpose - the string to create a Purpose from
Throws:
java.lang.IllegalArgumentException - if the given string does not match any purpose.

Copyright @ 2002 SAP. All Rights Reserved.