org.rhq.plugins.cron
Class CronComponent
java.lang.Object
org.rhq.plugins.augeas.AugeasConfigurationComponent<PlatformComponent>
org.rhq.plugins.cron.CronComponent
- All Implemented Interfaces:
- AvailabilityFacet, ConfigurationFacet, ConfigurationFacetSupport, CreateChildResourceFacet, DeleteResourceFacet, ResourceComponent<PlatformComponent>
public class CronComponent
- extends AugeasConfigurationComponent<PlatformComponent>
- implements CreateChildResourceFacet
Provides an summary of all entries in the crontabs split into hourly/daily/weekly/monthly entries.
Is able to create new cron tabs.
- Author:
- Lukas Krejci
| Methods inherited from class org.rhq.plugins.augeas.AugeasConfigurationComponent |
createAugeas, createPropertyList, createPropertyMap, createPropertySimple, deleteResource, getAugeas, getAugeasRootPath, getAvailability, getChildResourceConfigurationRootLabel, getChildResourceConfigurationRootPath, getConfigurationFiles, getExistingChildNodeForListMemberPropertyMap, getNewListMemberNode, getNodeInsertionPoint, getResourceContext, getResourceDescription, initAugeas, isAugeasAvailable, loadProperty, loadResourceConfiguration, populatePropertyMap, setNode, setNodeFromPropertyList, setNodeFromPropertyMap, setNodeFromPropertySimple, setupAugeasModules, start, stop, summarizeAugeasError, toNodeValue, updateStructuredConfiguration, validateResourceConfiguration |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CronComponent
public CronComponent()
getResourceConfigurationRootPath
protected String getResourceConfigurationRootPath()
- Overrides:
getResourceConfigurationRootPath in class AugeasConfigurationComponent<PlatformComponent>
createResource
public CreateResourceReport createResource(CreateResourceReport report)
- Specified by:
createResource in interface CreateChildResourceFacet- Overrides:
createResource in class AugeasConfigurationComponent<PlatformComponent>
updateResourceConfiguration
public void updateResourceConfiguration(ConfigurationUpdateReport report)
- Specified by:
updateResourceConfiguration in interface ConfigurationFacet- Overrides:
updateResourceConfiguration in class AugeasConfigurationComponent<PlatformComponent>
getAugeasPathRelativeToParent
protected String getAugeasPathRelativeToParent(PropertyDefinition propDef,
AugeasNode parentNode,
net.augeas.Augeas augeas)
- Overrides:
getAugeasPathRelativeToParent in class AugeasConfigurationComponent<PlatformComponent>
toPropertyValue
protected Object toPropertyValue(PropertyDefinitionSimple propDefSimple,
net.augeas.Augeas augeas,
AugeasNode node)
- Overrides:
toPropertyValue in class AugeasConfigurationComponent<PlatformComponent>
updateCrontab
protected void updateCrontab(String crontabPath,
ConfigurationDefinition crontabConfigurationDefinition,
Configuration crontabConfiguration)
Copyright © 2008-2011 Red Hat, Inc.. All Rights Reserved.