public final class Permutation extends Object implements Serializable
Constructor and Description |
---|
Permutation(int id,
BindingProps props) |
Permutation(int id,
Permutation other)
Clones an existing permutation, but with a new id.
|
Modifier and Type | Method and Description |
---|---|
List<GwtCreateMap> |
getGwtCreateAnswers()
Returns the GWT.create() answers for each soft permutation,
ordered by soft permutation id.
|
int |
getId() |
PermProps |
getProps()
Returns the properties to be used for generating this (hard) permutation.
|
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, BindingProps props)
public int getId()
public List<GwtCreateMap> getGwtCreateAnswers()
public PermProps getProps()
public void mergeFrom(Permutation other, SortedSet<String> liveRebindRequests)
public void mergeRebindsFromCollapsed(Permutation other)
Copyright © 2018. All rights reserved.