public final class SpringYarnBootUtils
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static void |
addApplicationListener(org.springframework.boot.builder.SpringApplicationBuilder builder,
java.util.Properties properties) |
static void |
addConfigFilesContents(org.springframework.boot.builder.SpringApplicationBuilder builder,
java.util.Map<java.lang.String,java.util.Properties> configFilesContents) |
static void |
addProfiles(org.springframework.boot.builder.SpringApplicationBuilder builder,
java.lang.String[] additionalProfiles) |
static void |
addSources(org.springframework.boot.builder.SpringApplicationBuilder builder,
java.lang.Object[] sources) |
static void |
appendAsCommaDelimitedIntoProperties(java.lang.String key,
java.lang.String[] values,
java.util.Properties properties) |
static java.lang.String |
escapeConfigKey(java.lang.String key) |
static void |
mergeBootArgumentsIntoMap(java.lang.String[] args,
java.util.Map map) |
static void |
mergeHadoopPropertyIntoMap(org.apache.hadoop.conf.Configuration configuration,
java.lang.String configurationKey,
java.lang.String propertyKey,
java.util.Map map) |
static java.lang.String[] |
propertiesToBootArguments(java.util.Properties properties) |
static java.lang.String |
resolveApplicationdir(SpringYarnProperties syp) |
static java.lang.String |
unescapeConfigKey(java.lang.String key) |
public static void mergeBootArgumentsIntoMap(java.lang.String[] args, java.util.Map map)
public static void mergeHadoopPropertyIntoMap(org.apache.hadoop.conf.Configuration configuration, java.lang.String configurationKey, java.lang.String propertyKey, java.util.Map map)
public static java.lang.String[] propertiesToBootArguments(java.util.Properties properties)
public static void appendAsCommaDelimitedIntoProperties(java.lang.String key, java.lang.String[] values, java.util.Properties properties)
public static void addApplicationListener(org.springframework.boot.builder.SpringApplicationBuilder builder, java.util.Properties properties)
public static void addProfiles(org.springframework.boot.builder.SpringApplicationBuilder builder, java.lang.String[] additionalProfiles)
public static void addSources(org.springframework.boot.builder.SpringApplicationBuilder builder, java.lang.Object[] sources)
public static void addConfigFilesContents(org.springframework.boot.builder.SpringApplicationBuilder builder, java.util.Map<java.lang.String,java.util.Properties> configFilesContents)
public static java.lang.String escapeConfigKey(java.lang.String key)
public static java.lang.String unescapeConfigKey(java.lang.String key)
public static java.lang.String resolveApplicationdir(SpringYarnProperties syp)