|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sodatest.api.java.JavaParameterConverter
public abstract class JavaParameterConverter
Abstract class for Java-based SodaEvents and SodaReports that
provides helper methods for Java-Scala integration, especially around parameter conversion.
| Constructor Summary | |
|---|---|
JavaParameterConverter()
|
|
| Method Summary | ||
|---|---|---|
protected Map<String,String> |
convertParameters(scala.collection.immutable.Map<String,String> parameters)
Converts a Scala Map of parameters to a Java map. |
|
protected static
|
list(T... values)
Creates and returns a new List containing the supplied values. |
|
protected static
|
None()
Returns the Scala None object, appropriately cast as necessary. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JavaParameterConverter()
| Method Detail |
|---|
protected Map<String,String> convertParameters(scala.collection.immutable.Map<String,String> parameters)
protected static final <T> scala.Option<T> None()
None object, appropriately cast as necessary.
protected static final <T> List<T> list(T... values)
List containing the supplied values.
This method is just a static forwarder (i.e. a synonym) for Arrays.asList(T...)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||