public class PermutationsUtil extends Object
Modifier and Type | Class and Description |
---|---|
protected static class |
PermutationsUtil.PermutationId
This represents the combination of a unique content hash (i.e.
|
Modifier and Type | Field and Description |
---|---|
protected SortedMap<PermutationsUtil.PermutationId,List<Map<String,String>>> |
propMapsByPermutation
This maps each unique permutation to the property settings for that
compilation.
|
Constructor and Description |
---|
PermutationsUtil() |
Modifier and Type | Method and Description |
---|---|
StringBuffer |
addPermutationsJs(StringBuffer selectionScript,
TreeLogger logger,
LinkerContext context)
Uses the internal map to insert JS to select a permutation into the
selection script.
|
SortedMap<PermutationsUtil.PermutationId,List<Map<String,String>>> |
getPermutationsMap() |
void |
setupPermutationsMap(ArtifactSet artifacts)
Find all instances of
SelectionInformation and add them to the
internal map of selection information. |
protected SortedMap<PermutationsUtil.PermutationId,List<Map<String,String>>> propMapsByPermutation
public StringBuffer addPermutationsJs(StringBuffer selectionScript, TreeLogger logger, LinkerContext context) throws UnableToCompleteException
selectionScript
- logger
- context
- UnableToCompleteException
public SortedMap<PermutationsUtil.PermutationId,List<Map<String,String>>> getPermutationsMap()
public void setupPermutationsMap(ArtifactSet artifacts)
SelectionInformation
and add them to the
internal map of selection information.Copyright © 2018. All rights reserved.