org.apache.avalon.repository.meta
Class FactoryDescriptor
java.lang.Object
org.apache.avalon.repository.meta.ArtifactDescriptor
org.apache.avalon.repository.meta.FactoryDescriptor
- All Implemented Interfaces:
- Serializable
- public class FactoryDescriptor
- extends ArtifactDescriptor
A RelationalDescriptor represents a set of metadata describing the
structural relationships that an artifact has on other
artifacts.
- Version:
- $Revision: 1.2 $
- Author:
- Stephen McConnell
- See Also:
- Serialized Form
API_KEY
public static final String API_KEY
- See Also:
- Constant Field Values
SPI_KEY
public static final String SPI_KEY
- See Also:
- Constant Field Values
IMP_KEY
public static final String IMP_KEY
- See Also:
- Constant Field Values
FACTORY_KEY
public static final String FACTORY_KEY
- See Also:
- Constant Field Values
FactoryDescriptor
public FactoryDescriptor(Attributes attributes)
throws MetaException
- Creates a new RelationalDescriptor.
- Parameters:
attributes
- the meta data attributes
getFactory
public String getFactory()
- Return the factory classname.
- Returns:
- the classname
getDependencies
public Artifact[] getDependencies(String key)
- Return the implementation dependencies
- Returns:
- the artifacts
getDependencies
public Artifact[] getDependencies()
toString
public String toString()
- Description copied from class:
ArtifactDescriptor
- Return a stringified representation of the instance.
- Overrides:
toString
in class ArtifactDescriptor
- Returns:
- the string representation
Copyright © Apache Software Foundation. All Rights Reserved.