org.rhq.core.clientapi.agent.metadata
Class ContentMetadataParser
java.lang.Object
org.rhq.core.clientapi.agent.metadata.ContentMetadataParser
public class ContentMetadataParser
- extends Object
Parser responsible for translating the content section of the rhq-plugin.xml descriptor into domain objects.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ContentMetadataParser
public ContentMetadataParser()
parseContentDescriptor
public static PackageType parseContentDescriptor(ContentDescriptor descriptor)
throws InvalidPluginDescriptorException
- Parses the contents of the content descriptor and populates an instance of the domain model representation.
- Parameters:
descriptor - non-null content descriptor.
- Returns:
- domain model object populated with the descriptor's values.
- Throws:
InvalidPluginDescriptorException - if the descriptor contains data that does not pass the usage
specification
Copyright © 2008-2009 Red Hat, Inc.. All Rights Reserved.