org.apache.avalon.composition.data
Class DeploymentProfile

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

public abstract class DeploymentProfile
extends Object
implements Serializable

Abstract base class for ComponentProfile and ContainmentProfile.

Version:
$Revision: 1.12 $ $Date: 2004/03/13 11:04:23 $
Author:
Avalon Development Team
See Also:
Serialized Form

Field Summary
static int DEFAULT
           
static int DISABLED
           
static int ENABLED
           
 
Constructor Summary
DeploymentProfile(String name, int activation, Mode mode, CategoriesDirective categories)
           
 
Method Summary
 int getActivationDirective()
          Get the activation directive for the profile.
 CategoriesDirective getCategories()
          Return the logging categories 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
 

Field Detail

DEFAULT

public static final int DEFAULT
See Also:
Constant Field Values

ENABLED

public static final int ENABLED
See Also:
Constant Field Values

DISABLED

public static final int DISABLED
See Also:
Constant Field Values
Constructor Detail

DeploymentProfile

public DeploymentProfile(String name,
                         int activation,
                         Mode mode,
                         CategoriesDirective categories)
Method Detail

getName

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

Returns:
the name of the component.

getCategories

public CategoriesDirective getCategories()
Return the logging categories for the profile.

Returns:
the categories

getActivationDirective

public int getActivationDirective()
Get the activation directive for the profile.

Returns:
the declared activation policy
See Also:
DEFAULT, ENABLED, DISABLED

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 © The Apache Software Foundation. All Rights Reserved.