org.rhq.core.domain.drift
Class DriftConfigurationDefinition
java.lang.Object
org.rhq.core.domain.drift.DriftConfigurationDefinition
- All Implemented Interfaces:
- Serializable
public class DriftConfigurationDefinition
- extends Object
- implements Serializable
The drift subsystem has a fixed configuration definition. That is, its property definitions
are the same always. There is no metadata that needs to be read in from a descriptor - this definition
is fixed and the code requires all the property definitions to follow what is encoded in this POJO.
Note that this class must mimic the definition data as found in the database. The installer
will prepopulate the configuration definition tables that match the definitions encoded in this POJO.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PROP_NAME
public static final String PROP_NAME
- See Also:
- Constant Field Values
PROP_DESCRIPTION
public static final String PROP_DESCRIPTION
- See Also:
- Constant Field Values
PROP_ENABLED
public static final String PROP_ENABLED
- See Also:
- Constant Field Values
PROP_BASEDIR
public static final String PROP_BASEDIR
- See Also:
- Constant Field Values
PROP_BASEDIR_VALUECONTEXT
public static final String PROP_BASEDIR_VALUECONTEXT
- See Also:
- Constant Field Values
PROP_BASEDIR_VALUENAME
public static final String PROP_BASEDIR_VALUENAME
- See Also:
- Constant Field Values
PROP_INTERVAL
public static final String PROP_INTERVAL
- See Also:
- Constant Field Values
PROP_DRIFT_HANDLING_MODE
public static final String PROP_DRIFT_HANDLING_MODE
- See Also:
- Constant Field Values
PROP_PINNED
public static final String PROP_PINNED
- See Also:
- Constant Field Values
PROP_ATTACHED
public static final String PROP_ATTACHED
- See Also:
- Constant Field Values
PROP_INCLUDES
public static final String PROP_INCLUDES
- See Also:
- Constant Field Values
PROP_INCLUDES_INCLUDE
public static final String PROP_INCLUDES_INCLUDE
- See Also:
- Constant Field Values
PROP_EXCLUDES
public static final String PROP_EXCLUDES
- See Also:
- Constant Field Values
PROP_EXCLUDES_EXCLUDE
public static final String PROP_EXCLUDES_EXCLUDE
- See Also:
- Constant Field Values
PROP_PATH
public static final String PROP_PATH
- See Also:
- Constant Field Values
PROP_PATTERN
public static final String PROP_PATTERN
- See Also:
- Constant Field Values
PROP_NAME_REGEX_PATTERN
public static final String PROP_NAME_REGEX_PATTERN
- See Also:
- Constant Field Values
DEFAULT_ENABLED
public static final boolean DEFAULT_ENABLED
- See Also:
- Constant Field Values
DEFAULT_ATTACHED
public static final boolean DEFAULT_ATTACHED
- See Also:
- Constant Field Values
DEFAULT_INTERVAL
public static final long DEFAULT_INTERVAL
- See Also:
- Constant Field Values
DEFAULT_DRIFT_HANDLING_MODE
public static final DriftConfigurationDefinition.DriftHandlingMode DEFAULT_DRIFT_HANDLING_MODE
DriftConfigurationDefinition
public DriftConfigurationDefinition()
getInstance
public static ConfigurationDefinition getInstance()
- Returns a configuration definition suitable for showing a new configuration form - that is,
a configuration that has not yet been created.
This will allow all fields to be editable.
If you need a configuration definition to show an existing configuration, use the definition
returned by
getInstanceForExistingConfiguration()
.
- Returns:
- configuration definition
getInstanceForExistingConfiguration
public static ConfigurationDefinition getInstanceForExistingConfiguration()
- Returns a configuration definition suitable for showing an existing drift definition.
This will set certain fields as read-only - those fields which the user is not allowed to
edit on exiting drift definition (which includes name, basedir and includes/excludes filters).
- Returns:
- configuration definition
getNewResourceInstanceByPinnedTemplate
public static ConfigurationDefinition getNewResourceInstanceByPinnedTemplate()
getExistingResourceInstanceByPinnedTemplate
public static ConfigurationDefinition getExistingResourceInstanceByPinnedTemplate()
getNewTemplateInstance
public static ConfigurationDefinition getNewTemplateInstance()
getExistingTemplateInstance
public static ConfigurationDefinition getExistingTemplateInstance()
getNewPinnedTemplateInstance
public static ConfigurationDefinition getNewPinnedTemplateInstance()
Copyright © 2008-2011 Red Hat, Inc.. All Rights Reserved.