@ConfigurationProperties public class ModuleLauncherProperties extends Object
ModuleLauncher
.
Expects the following keys (resolved from the Environment
, so this could take many forms _ System
properties, environment variables, program arguments, etc. _):
modules = org.springframework.cloud.modules:time-source:1.0.0-SNAPSHOT,org.springframework.cloud.modules:log-sink:1.0.0-SNAPSHOT args.0.fixedDelay=4And this is how one would launch the time --fixedDelay=4 | log example as an aggregate:
modules = org.springframework.cloud.modules:time-source:1.0.0-SNAPSHOT,org.springframework.cloud.modules:log-sink:1.0.0-SNAPSHOT args.0.fixedDelay=4 aggregate=true
Constructor and Description |
---|
ModuleLauncherProperties() |
Modifier and Type | Method and Description |
---|---|
Map<String,Map<String,String>> |
getArgs() |
String[] |
getModules() |
boolean |
isAggregate() |
void |
setAggregate(boolean aggregate) |
void |
setArgs(Map<String,Map<String,String>> args) |
void |
setModules(String[] modules) |
Copyright © 2016 Pivotal Software, Inc.. All rights reserved.