Package org.eclipse.aether.internal.impl
Class DefaultArtifactPredicateFactory
java.lang.Object
org.eclipse.aether.internal.impl.DefaultArtifactPredicateFactory
- All Implemented Interfaces:
ArtifactPredicateFactory
@Singleton
@Named
public final class DefaultArtifactPredicateFactory
extends Object
implements ArtifactPredicateFactory
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDefaultArtifactPredicateFactory(ChecksumAlgorithmFactorySelector checksumAlgorithmFactorySelector) -
Method Summary
Modifier and TypeMethodDescriptionnewInstance(RepositorySystemSession session) Creates a new artifact predicate for the session.
-
Field Details
-
CONFIG_PROP_OMIT_CHECKSUMS_FOR_EXTENSIONS
Comma-separated list of extensions with leading dot (example ".asc") that should have checksums omitted. These are applied to sub-artifacts only. Note: to achieve 1.7.x aether.checksums.forSignature=true behaviour, pass empty string as value for this property.- See Also:
- Sourced from:
RepositorySystemSession.getConfigProperties()- Value type:
String- Default value:
DEFAULT_OMIT_CHECKSUMS_FOR_EXTENSIONS- Supports Repo ID Suffix:
- No
-
DEFAULT_OMIT_CHECKSUMS_FOR_EXTENSIONS
- See Also:
-
-
Constructor Details
-
DefaultArtifactPredicateFactory
@Inject public DefaultArtifactPredicateFactory(ChecksumAlgorithmFactorySelector checksumAlgorithmFactorySelector)
-
-
Method Details
-
newInstance
Description copied from interface:ArtifactPredicateFactoryCreates a new artifact predicate for the session.- Specified by:
newInstancein interfaceArtifactPredicateFactory- Parameters:
session- The repository system session from which to configure the generator, must not benull.- Returns:
- The artifact predicate for the session, never
null.
-