org.apache.avalon.composition.data
Class BlockCompositionDirective
java.lang.Object
org.apache.avalon.composition.data.DeploymentProfile
org.apache.avalon.composition.data.BlockCompositionDirective
- All Implemented Interfaces:
- Serializable
- public class BlockCompositionDirective
- extends DeploymentProfile
A block reference directive contains an identifier and verion of
a local resource to be included by reference into
a container.
- Version:
- $Revision: 1.7 $ $Date: 2004/05/01 17:03:42 $
- Author:
- Avalon Development Team
- See Also:
- Serialized Form
BlockCompositionDirective
public BlockCompositionDirective(String name,
Artifact artifact)
- Creation of a new resource directive.
- Parameters:
name
- the name to assign to the container
established by the composition directiveartifact
- an artifact from which a block
description can be resolved
BlockCompositionDirective
public BlockCompositionDirective(String name,
Artifact artifact,
TargetDirective[] targets)
- Creation of a new resource directive.
- Parameters:
name
- the name to assign to the container
established by the composition directiveartifact
- an artifact from which a block
description can be resolved
getArtifact
public Artifact getArtifact()
- Return the artifact reference.
- Returns:
- the artifact
getTargetDirectives
public TargetDirective[] getTargetDirectives()
- Return the relative targets.
- Returns:
- the targets
Copyright © The Apache Software Foundation. All Rights Reserved.