org.apache.avalon.composition.data
Class Profile

java.lang.Object
  extended byorg.apache.avalon.composition.data.Profile
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
BlockCompositionDirective, BlockIncludeDirective, ContainmentProfile, DeploymentProfile

public abstract class Profile
extends Object
implements Serializable

Abstract base class for DeploymentProfile and ContainmentProfile.

Version:
$Revision: 1.1.1.1 $ $Date: 2003/08/31 14:27:03 $
Author:
Avalon Development Team
See Also:
Serialized Form

Constructor Summary
Profile(String name, boolean activation, Mode mode)
           
 
Method Summary
 boolean getActivationPolicy()
          Get the activation policy for the profile.
 Mode getMode()
          Returns the creation mode for this profile.
 String getName()
          Return the name of meta-data instance.
 String toString()
          Returns a string representation of the profile.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Profile

public Profile(String name,
               boolean activation,
               Mode mode)
Method Detail

getName

public String getName()
Return the name of meta-data instance.

Returns:
the name of the component.

getActivationPolicy

public boolean getActivationPolicy()
Get the activation policy for the profile.


getMode

public Mode getMode()
Returns the creation mode for this profile.

Returns:
a value of EXPLICIT, PACKAGED or IMPLICIT

toString

public String toString()
Returns a string representation of the profile.

Returns:
a string representation


Copyright © Apache Software Foundation. All Rights Reserved.