public final class Permutation extends Object implements Serializable
Constructor and Description |
---|
Permutation(int id,
BindingProperties bindingProperties) |
Permutation(int id,
Permutation other)
Clones an existing permutation, but with a new id.
|
Modifier and Type | Method and Description |
---|---|
int |
getId() |
PermutationProperties |
getProperties()
Returns the properties to be used for generating this (hard) permutation.
|
List<PropertyAndBindingInfo> |
getPropertyAndBindingInfos()
Returns the GWT.create() answers for each soft permutation,
ordered by soft permutation id.
|
void |
mergeFrom(Permutation other,
SortedSet<String> liveRebindRequests)
This is called to merge two permutations that either have identical rebind
answers or were explicitly collapsed using
|
void |
mergeRebindsFromCollapsed(Permutation other)
This is called to collapse one permutation into another where the rebinds
vary between the two permutations.
|
void |
putRebindAnswer(String requestType,
String resultType) |
public Permutation(int id, Permutation other)
id
- new permutation idother
- Permutation to copypublic Permutation(int id, BindingProperties bindingProperties)
public int getId()
public List<PropertyAndBindingInfo> getPropertyAndBindingInfos()
public PermutationProperties getProperties()
public void mergeFrom(Permutation other, SortedSet<String> liveRebindRequests)
public void mergeRebindsFromCollapsed(Permutation other)
Copyright © 2018. All rights reserved.