|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.rhq.enterprise.server.xmlschema.ServerPluginDescriptorMetadataParser
public class ServerPluginDescriptorMetadataParser
Provides methods to parse the server plugin descriptors.
| Constructor Summary | |
|---|---|
ServerPluginDescriptorMetadataParser()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
getPluginComponentClassName(ServerPluginDescriptorType descriptor)
Returns the fully qualified class name of the plugin component. |
static ConfigurationDefinition |
getPluginConfigurationDefinition(ServerPluginDescriptorType descriptor)
Returns the global configuration definition for the plugin. |
static java.util.List<ScheduledJobDefinition> |
getScheduledJobs(Configuration scheduledJobsConfig)
Given a configuration, this will return any scheduled jobs that are defined in it. |
static java.util.List<ScheduledJobDefinition> |
getScheduledJobs(ServerPluginDescriptorType descriptor)
Given a descriptor, this will parse it and return any scheduled jobs that it finds. |
static ConfigurationDefinition |
getScheduledJobsDefinition(ServerPluginDescriptorType descriptor)
Returns the scheduled jobs configuration definition for the plugin. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ServerPluginDescriptorMetadataParser()
| Method Detail |
|---|
public static java.lang.String getPluginComponentClassName(ServerPluginDescriptorType descriptor)
null.
descriptor -
null if not specified
public static ConfigurationDefinition getPluginConfigurationDefinition(ServerPluginDescriptorType descriptor)
throws java.lang.Exception
getScheduledJobs(ServerPluginDescriptorType) for that.
descriptor -
null if the descriptor did not define plugin config.
java.lang.Exception - if the plugin descriptor was invalid
public static ConfigurationDefinition getScheduledJobsDefinition(ServerPluginDescriptorType descriptor)
throws java.lang.Exception
getScheduledJobs(ServerPluginDescriptorType) to return a list of a more
strongly typed jobs object, as opposed to a generic configuration definition.
descriptor -
null if the descriptor did not define plugin config.
java.lang.Exception - if the plugin descriptor was invalid
public static java.util.List<ScheduledJobDefinition> getScheduledJobs(ServerPluginDescriptorType descriptor)
throws java.lang.Exception
descriptor -
java.lang.Exception - if the plugin descriptor was invalid
public static java.util.List<ScheduledJobDefinition> getScheduledJobs(Configuration scheduledJobsConfig)
throws java.lang.Exception
jobsConfig - the configuration with the scheduled job information
java.lang.Exception - if the configuration was invalid
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||