com.trendmicro.grid.acl.ds.config
Class DataSourcePropertySection
java.lang.Object
net.sf.tinyjee.config.ValueContainer<V>
net.sf.tinyjee.config.ConditionalValueContainer<net.sf.tinyjee.config.Property>
net.sf.tinyjee.config.PropertyContainerBase
net.sf.tinyjee.config.PropertySection
com.trendmicro.grid.acl.ds.config.DataSourcePropertySection
- All Implemented Interfaces:
- Serializable, net.sf.tinyjee.config.ConfigurationBuilder
@SectionDocumentation(name="gacl-datasource",
description="Defines the general settings to use for accessing the GRID infrastructure.\n\nThe datasource modules inside the GRID define multiple internal interfaces that allow accessing the different backend systems used inside the GRID.\n\nMost interfaces are backed by several implementations allowing to run the access layer in various modes (including test setups with no external dependencies).\n\nThe active implementations that are in use can be selected by editing the file \'repository-selection.MODE.xml\' and are also exposed to JMX monitoring.",
properties={@PropertyDocumentation(property="autoselectNames",description="Specifies a whitespace delimited list of name fragments to use for selecting the initial configuration of repository implementations in case of the \'repository-selection.MODE.xml\' file is missing completelly or missing a mapping entry.\n\nThe property has no effect if a selection is already stored inside a selection XML file.\n\nBy default the value for the property can be specified using the commandline parameter \'\"-Dautoselect.ds.implementations=name01 name02 name03\"\'."),@PropertyDocumentation(property="createVendorIfMissing",description="Defines whether to auto-create vendors implicitly if missing inside the CoreDB for incoming processing results."),@PropertyDocumentation(property="createPackageFamilyIfMissing",description="Defines whether to auto-create package family entries implicitly if missing inside the CoreDB for incoming processing results."),@PropertyDocumentation(property="createSourceIfMissing",description="Defines whether to auto-create source entries implicitly if missing inside the CoreDB for incoming processing results."),@PropertyDocumentation(property="updatedTimestampsWhenContentIsSame",description="Updates timestamps on LAST_PROCESSED and LAST_RETRIEVED even if the processing didn\'t change the result."),@PropertyDocumentation(property="updateSourcesFromProcessResult",description="Defines whether to apply changes to sources from incoming processing results. \nIf \'false\' (default), sources have to be updated using the dedicated SOAP interfaces."),@PropertyDocumentation(property="updateVendorFromProcessResult",description="Defines whether to apply changes to vendors from incoming processing results. \nIf \'false\' (default), vendors have to be updated using the dedicated SOAP interfaces."),@PropertyDocumentation(property="updatePackageFamilyFromProcessResult",description="Defines whether to apply changes to package family entries from incoming processing results. \nIf \'false\' (default), package families have to be updated using the dedicated SOAP interfaces."),@PropertyDocumentation(property="ignoreAllUpdates",description="Ignores all updates to any data. (default and recommended: false).\nWhen set to \'true\', data can just be added but it can never be updated. History records are never created either.\nUse this option with care! (e.g. to speed-up bulk data inserts)"),@PropertyDocumentation(property="ignoreNullMetadataUpdates",description="Ignores updates to metadata fields if the received metadata is set to \'null\' (default: true).\nEffectively this setting ensures that existing metadata is not overriden with empty metadata.")})
public class DataSourcePropertySection
- extends net.sf.tinyjee.config.PropertySection
- implements net.sf.tinyjee.config.ConfigurationBuilder
Defines the general settings to use for accessing the GRID infrastructure.
- Version:
- 1.0
- Author:
- Juergen_Kellerer, 2010-06-12
- See Also:
- Serialized Form
Nested classes/interfaces inherited from interface net.sf.tinyjee.config.ConfigurationBuilder |
net.sf.tinyjee.config.ConfigurationBuilder.Util |
Methods inherited from class net.sf.tinyjee.config.PropertySection |
getSection, setSection, toString |
Methods inherited from class net.sf.tinyjee.config.PropertyContainerBase |
addProperty, getProperties, getProperty, getPropertyValue, getPropertyValue, getPropertyValue, getValues, removeProperty, setProperty, setValues |
Methods inherited from class net.sf.tinyjee.config.ConditionalValueContainer |
getIfRawValue, getIfValue, getUnlessRawValue, getUnlessValue, isApplicable, isIfTrue, isUnlessTrue, setIfRawValue, setUnlessRawValue |
Methods inherited from class net.sf.tinyjee.config.ValueContainer |
isModified |
NAME_SECTION
public static final String NAME_SECTION
- See Also:
- Constant Field Values
KEY_AUTOSELECT_NAMES
public static final String KEY_AUTOSELECT_NAMES
- See Also:
- Constant Field Values
KEY_AUTOSELECT_IMPLEMENTATION_BY_NAMES
public static final String KEY_AUTOSELECT_IMPLEMENTATION_BY_NAMES
- See Also:
- Constant Field Values
KEY_CREATE_VENDOR_IF_MISSING
public static final String KEY_CREATE_VENDOR_IF_MISSING
- See Also:
- Constant Field Values
KEY_CREATE_PACKAGE_FAMILY_IF_MISSING
public static final String KEY_CREATE_PACKAGE_FAMILY_IF_MISSING
- See Also:
- Constant Field Values
KEY_CREATE_SOURCE_IF_MISSING
public static final String KEY_CREATE_SOURCE_IF_MISSING
- See Also:
- Constant Field Values
KEY_IGNORE_NULL_METADATA_UPDATES
public static final String KEY_IGNORE_NULL_METADATA_UPDATES
- See Also:
- Constant Field Values
KEY_IGNORE_ALL_UPDATES
public static final String KEY_IGNORE_ALL_UPDATES
- See Also:
- Constant Field Values
KEY_UPDATE_TIMESTAMPS_WHEN_CONTENT_IS_SAME
public static final String KEY_UPDATE_TIMESTAMPS_WHEN_CONTENT_IS_SAME
- See Also:
- Constant Field Values
KEY_UPDATE_SOURCES_FROM_PROCESS_RESULT
public static final String KEY_UPDATE_SOURCES_FROM_PROCESS_RESULT
- See Also:
- Constant Field Values
KEY_UPDATE_VENDOR_FROM_PROCESS_RESULT
public static final String KEY_UPDATE_VENDOR_FROM_PROCESS_RESULT
- See Also:
- Constant Field Values
KEY_UPDATE_PACKAGE_FAMILY_FROM_PROCESS_RESULT
public static final String KEY_UPDATE_PACKAGE_FAMILY_FROM_PROCESS_RESULT
- See Also:
- Constant Field Values
KEY_ENABLE_HISTORY_RECORDING
public static final String KEY_ENABLE_HISTORY_RECORDING
- See Also:
- Constant Field Values
KEY_IGNORE_STATISTICS_RECORDING
public static final String KEY_IGNORE_STATISTICS_RECORDING
- See Also:
- Constant Field Values
DataSourcePropertySection
public DataSourcePropertySection()
getPropertySection
public static net.sf.tinyjee.config.PropertySection getPropertySection()
buildDefaultSections
public Collection<net.sf.tinyjee.config.PropertySection> buildDefaultSections()
-
- Specified by:
buildDefaultSections
in interface net.sf.tinyjee.config.ConfigurationBuilder
buildDefaultResources
public Collection<? extends net.sf.tinyjee.config.Resource> buildDefaultResources()
-
- Specified by:
buildDefaultResources
in interface net.sf.tinyjee.config.ConfigurationBuilder