Class FeaturesServiceConfig
- java.lang.Object
-
- org.apache.karaf.features.internal.service.FeaturesServiceConfig
-
public class FeaturesServiceConfig extends Object
-
-
Field Summary
Fields Modifier and Type Field Description boolean
autoRefresh
Define if the features service automatically refresh bundles (which have to be refreshed).String
blacklisted
Deprecated.String
bundleUpdateRange
Range to use when verifying if a bundle should be updated or new bundle installed.int
downloadThreads
String
featureModifications
Location ofetc/org.apache.karaf.features.xml
String
featureProcessingVersions
Location ofetc/versions.properties
to read properties to resolve placeholders infeatureModifications
String
featureResolutionRange
Range to use when a version is specified on a feature dependency.String
overrides
Deprecated.long
scheduleDelay
int
scheduleMaxRun
String
serviceRequirements
Service requirements enforcementString
updateSnapshots
Use CRC to check snapshot bundles and update them if changed.
-
Constructor Summary
Constructors Constructor Description FeaturesServiceConfig()
FeaturesServiceConfig(String featureModifications, String featureProcessingVersions)
FeaturesServiceConfig(String featureResolutionRange, String bundleUpdateRange, String updateSnapshots, int downloadThreads, long scheduleDelay, int scheduleMaxRun, String featureModifications, String featureProcessingVersions, String serviceRequirements, boolean autoRefresh)
FeaturesServiceConfig(String overrides, String blacklisted, String featureModifications, String featureProcessingVersions)
Deprecated.FeaturesServiceConfig(String overrides, String featureResolutionRange, String bundleUpdateRange, String updateSnapshots, int downloadThreads, long scheduleDelay, int scheduleMaxRun, String blacklisted, String featureModifications, String featureProcessingVersions, String serviceRequirements, boolean autoRefresh)
Deprecated.
-
-
-
Field Detail
-
featureResolutionRange
public final String featureResolutionRange
Range to use when a version is specified on a feature dependency. The default isFeaturesService.DEFAULT_FEATURE_RESOLUTION_RANGE
-
bundleUpdateRange
public final String bundleUpdateRange
Range to use when verifying if a bundle should be updated or new bundle installed. The default isFeaturesService.DEFAULT_BUNDLE_UPDATE_RANGE
-
updateSnapshots
public final String updateSnapshots
Use CRC to check snapshot bundles and update them if changed. Either: - none : never update snapshots - always : always update snapshots - crc : use CRC to detect changes
-
downloadThreads
public final int downloadThreads
-
scheduleDelay
public final long scheduleDelay
-
scheduleMaxRun
public final int scheduleMaxRun
-
serviceRequirements
public final String serviceRequirements
Service requirements enforcement
-
blacklisted
@Deprecated public final String blacklisted
Deprecated.Location ofetc/blacklisted.properties
-
featureModifications
public final String featureModifications
Location ofetc/org.apache.karaf.features.xml
-
featureProcessingVersions
public final String featureProcessingVersions
Location ofetc/versions.properties
to read properties to resolve placeholders infeatureModifications
-
overrides
@Deprecated public final String overrides
Deprecated.Location ofetc/overrides.properties
-
autoRefresh
public final boolean autoRefresh
Define if the features service automatically refresh bundles (which have to be refreshed).
-
-
Constructor Detail
-
FeaturesServiceConfig
public FeaturesServiceConfig()
-
FeaturesServiceConfig
public FeaturesServiceConfig(String featureModifications, String featureProcessingVersions)
-
FeaturesServiceConfig
@Deprecated public FeaturesServiceConfig(String overrides, String blacklisted, String featureModifications, String featureProcessingVersions)
Deprecated.
-
FeaturesServiceConfig
public FeaturesServiceConfig(String featureResolutionRange, String bundleUpdateRange, String updateSnapshots, int downloadThreads, long scheduleDelay, int scheduleMaxRun, String featureModifications, String featureProcessingVersions, String serviceRequirements, boolean autoRefresh)
-
FeaturesServiceConfig
@Deprecated public FeaturesServiceConfig(String overrides, String featureResolutionRange, String bundleUpdateRange, String updateSnapshots, int downloadThreads, long scheduleDelay, int scheduleMaxRun, String blacklisted, String featureModifications, String featureProcessingVersions, String serviceRequirements, boolean autoRefresh)
Deprecated.
-
-