Package org.guvnor.ala.openshift.config
Class OpenShiftParameters
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.HashMap<K,V>
-
- java.util.LinkedHashMap<String,String>
-
- org.guvnor.ala.openshift.config.OpenShiftParameters
-
- All Implemented Interfaces:
Serializable,Cloneable,Map<String,String>
public class OpenShiftParameters extends LinkedHashMap<String,String> implements Map<String,String>
Compound parameterization for use in a single guvnor ala input string.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object,V extends Object>
-
-
Field Summary
Fields Modifier and Type Field Description static StringDEFAULT_PARAM_ASSIGNERstatic StringDEFAULT_PARAM_DELIMITER
-
Constructor Summary
Constructors Constructor Description OpenShiftParameters()OpenShiftParameters(String paramDelimiter)OpenShiftParameters(String paramDelimiter, String paramAssigner)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OpenShiftParametersfromRuntimeConfig(OpenShiftRuntimeConfig runtimeConfig)static OpenShiftParametersfromString(String str)static OpenShiftParametersfromString(String str, String paramDelimiter)static OpenShiftParametersfromString(String str, String paramDelimiter, String paramAssigner)StringgetParamAssigner()StringgetParamDelimiter()OpenShiftParametersparam(String key, String value)StringtoString()-
Methods inherited from class java.util.LinkedHashMap
clear, containsValue, entrySet, forEach, get, getOrDefault, keySet, removeEldestEntry, replaceAll, values
-
Methods inherited from class java.util.HashMap
clone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, size
-
Methods inherited from class java.util.AbstractMap
equals, hashCode
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
-
-
-
-
Field Detail
-
DEFAULT_PARAM_DELIMITER
public static final String DEFAULT_PARAM_DELIMITER
- See Also:
- Constant Field Values
-
DEFAULT_PARAM_ASSIGNER
public static final String DEFAULT_PARAM_ASSIGNER
- See Also:
- Constant Field Values
-
-
Method Detail
-
getParamDelimiter
public String getParamDelimiter()
-
getParamAssigner
public String getParamAssigner()
-
param
public OpenShiftParameters param(String key, String value)
-
toString
public String toString()
- Overrides:
toStringin classAbstractMap<String,String>
-
fromString
public static OpenShiftParameters fromString(String str)
-
fromString
public static OpenShiftParameters fromString(String str, String paramDelimiter)
-
fromString
public static OpenShiftParameters fromString(String str, String paramDelimiter, String paramAssigner)
-
fromRuntimeConfig
public static OpenShiftParameters fromRuntimeConfig(OpenShiftRuntimeConfig runtimeConfig)
-
-