public class ConflictResolutionConfig extends ConfigGroup
load(java.util.Properties)
, and thenConfigGroup.EnumDbConnectionType
Modifier and Type | Field and Description |
---|---|
static String |
GROUP_PREFIX
Prefix of names of properties belonging to this group.
|
CLEAN_DB_NAME, DIRTY_DB_NAME, NAME_DELIMITER
Constructor and Description |
---|
ConflictResolutionConfig(Double agreeCoeficient,
Double scoreIfUnknown,
Double namedGraphScoreWeight,
Double publisherScoreWeight,
Long maxDateDifference) |
Modifier and Type | Method and Description |
---|---|
Double |
getAgreeCoeficient() |
Long |
getMaxDateDifference() |
Double |
getNamedGraphScoreWeight() |
Double |
getPublisherScoreWeight() |
Double |
getScoreIfUnknown() |
static ConflictResolutionConfig |
load(Properties properties)
Extracts Conflict-Resolution configuration values from the given Properties instance.
|
loadJDBCConnectionCredentials, loadParam, loadSparqlEndpointConnectionCredentials
public static final String GROUP_PREFIX
public static ConflictResolutionConfig load(Properties properties) throws ParameterNotAvailableException, IllegalParameterFormatException
properties
- ParameterNotAvailableException
IllegalParameterFormatException
public Double getAgreeCoeficient()
public Double getScoreIfUnknown()
public Double getNamedGraphScoreWeight()
public Double getPublisherScoreWeight()
public Long getMaxDateDifference()
Copyright © 2013. All Rights Reserved.