class EffectivePackagingRule extends PackagingRule
In general packaging rules are in n-to-m relation with artifacts. One artifact can have one or more packaging rules and one packaging rule can match zero or more artifacts. This approach is well suited for configuring build process by humans.
In contrast, effective packaging rules are in 1-to-1 relation with artifacts. Every artifact has exactly one effective packaging rule. This form is best for machine processing.
Effective packaging rules are created from raw configuration rules by merging and/or splitting and expanding regular expression patterns.
Constructor and Description |
---|
EffectivePackagingRule(java.util.List<PackagingRule> artifactManagement,
java.lang.String groupId,
java.lang.String artifactId,
java.lang.String extension,
java.lang.String classifier,
java.lang.String version)
Create effective packaging rule for given artifact.
|
addAlias, addFile, addVersion, clone, getAliases, getArtifactGlob, getFiles, getTargetPackage, getTargetRepository, getVersions, isMatched, isOptional, removeAlias, removeFile, removeVersion, setAliases, setArtifactGlob, setFiles, setMatched, setOptional, setTargetPackage, setTargetRepository, setVersions
public EffectivePackagingRule(java.util.List<PackagingRule> artifactManagement, java.lang.String groupId, java.lang.String artifactId, java.lang.String extension, java.lang.String classifier, java.lang.String version)
artifactManagement
- list of raw packaging rules that are foundation of newly constructed effective rulegroupId
- groupId of artifact for which effective rule is to be createdartifactId
- artifactId of artifact for which effective rule is to be createdextension
- extension of artifact for which effective rule is to be createdclassifier
- classifier of artifact for which effective rule is to be createdversion
- version of artifact for which effective rule is to be createdCopyright © 2012–2017 Red Hat, Inc.. All rights reserved.