| Modifier and Type | Method and Description |
|---|---|
Comparison |
Comparisons.createComparison(Comparisons.Side left,
Comparisons.Side right)
Synchronously creates a *private* comparison that never expires with the given sides and an automatically generated identifier.
|
Comparison |
Comparisons.createComparison(Comparisons.Side left,
Comparisons.Side right,
String identifier,
boolean isPublic,
Instant expires)
Synchronously creates a comparison with the given sides and properties.
|
Comparison |
Comparisons.getComparison(String identifier)
Synchronously gets metadata for a given comparison.
|
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<Comparison> |
Comparisons.createComparisonAsync(Comparisons.Side left,
Comparisons.Side right)
Asynchronously creates a *private* comparison that never expires with the given sides and an automatically generated identifier.
|
CompletableFuture<Comparison> |
Comparisons.createComparisonAsync(Comparisons.Side left,
Comparisons.Side right,
String identifier,
boolean isPublic,
Instant expires)
Asynchronously creates a comparison with the given sides and properties.
|
List<Comparison> |
Comparisons.getAllComparisons()
Synchronously gets a list of all of the account's comparisons.
|
CompletableFuture<List<Comparison>> |
Comparisons.getAllComparisonsAsync()
Asynchronously gets a list of all of the account's comparisons.
|
CompletableFuture<Comparison> |
Comparisons.getComparisonAsync(String identifier)
Asynchronously gets metadata for a given comparison.
|
Copyright © 2017. All rights reserved.