public class JobParametersImpl extends Object implements JobParameters
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsKey(String key)
Return true if the parameters contain a value for the key
|
boolean |
equals(Object o) |
String |
get(String key)
Return the value associated with the key or null if there is no such parameter
|
Map<String,String> |
getMap()
Return an immutable map of the parameters.
|
int |
hashCode() |
String |
put(String key,
String value)
Associates the value with the key and returns the old value if there previously was a mapping for the key
|
String |
remove(String key)
Removes the value associated with the key or null if there is no such parameter
|
rx.Completable |
save()
Asynchronously save the parameters back to Cassandra.
|
void |
setSaveParameters(Function<Map<String,String>,rx.Completable> saveParameters) |
String |
toString() |
public void setSaveParameters(Function<Map<String,String>,rx.Completable> saveParameters)
public String get(String key)
JobParametersget in interface JobParameterspublic String put(String key, String value)
JobParametersput in interface JobParameterspublic String remove(String key)
JobParametersremove in interface JobParameterspublic boolean containsKey(String key)
JobParameterscontainsKey in interface JobParameterspublic Map<String,String> getMap()
JobParametersget or put will not be reflected in
this map.getMap in interface JobParameterspublic rx.Completable save()
JobParameterssave in interface JobParametersCopyright © 2014–2018 Red Hat, Inc.. All rights reserved.