Class AbstractGlobalContextManager
- java.lang.Object
-
- com.xebialabs.deployit.booter.local.AbstractGlobalContextManager
-
- All Implemented Interfaces:
GlobalContextManager
public abstract class AbstractGlobalContextManager extends java.lang.Object implements GlobalContextManager
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static classAbstractGlobalContextManager.Pair
-
Field Summary
Fields Modifier and Type Field Description protected org.slf4j.Loggerlogger
-
Constructor Summary
Constructors Constructor Description AbstractGlobalContextManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddContextEntries(java.util.Map<java.lang.String,java.lang.Object> properties)protected voidaddContextEntry(java.lang.Object key, java.lang.Object value)protected java.util.stream.Stream<AbstractGlobalContextManager.Pair>getContextEntries()protected java.lang.Stringheader()protected java.lang.StringtoComment(com.xebialabs.deployit.booter.local.GlobalContext.Value value)protected java.util.List<java.lang.String>validateContextEntries()voidvalidateValues(java.io.File configFile)GlobalContextManagerwithContext(java.util.Map<java.lang.String,com.xebialabs.deployit.booter.local.GlobalContext.Value> context)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.xebialabs.deployit.booter.local.GlobalContextManager
loadStoredDefaults, storeDefaults
-
-
-
-
Method Detail
-
withContext
public GlobalContextManager withContext(java.util.Map<java.lang.String,com.xebialabs.deployit.booter.local.GlobalContext.Value> context)
- Specified by:
withContextin interfaceGlobalContextManager
-
addContextEntries
protected void addContextEntries(java.util.Map<java.lang.String,java.lang.Object> properties)
-
addContextEntry
protected void addContextEntry(java.lang.Object key, java.lang.Object value)
-
getContextEntries
protected java.util.stream.Stream<AbstractGlobalContextManager.Pair> getContextEntries()
-
validateValues
public void validateValues(java.io.File configFile)
- Specified by:
validateValuesin interfaceGlobalContextManager
-
validateContextEntries
protected java.util.List<java.lang.String> validateContextEntries()
-
header
protected java.lang.String header()
-
toComment
protected java.lang.String toComment(com.xebialabs.deployit.booter.local.GlobalContext.Value value)
-
-