mirror of
https://github.com/google/nomulus
synced 2026-04-21 16:50:44 +00:00
Create GenerateAllocationTokens nomulus tool command
This creates a specified number of tokens of a given schema, with a dryrun option to not persist them. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=181403775
This commit is contained in:
@@ -73,13 +73,13 @@ public class DeterministicStringGenerator extends StringGenerator {
|
||||
}
|
||||
}
|
||||
|
||||
public DeterministicStringGenerator(@Named("alphabet") String alphabet, Rule rule) {
|
||||
public DeterministicStringGenerator(@Named("alphabetBase64") String alphabet, Rule rule) {
|
||||
super(alphabet);
|
||||
iterator = Iterators.cycle(charactersOf(alphabet));
|
||||
this.rule = rule;
|
||||
}
|
||||
|
||||
public DeterministicStringGenerator(@Named("alphabet") String alphabet) {
|
||||
public DeterministicStringGenerator(@Named("alphabetBase64") String alphabet) {
|
||||
this(alphabet, Rule.DEFAULT);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user