@Component @Configuration @EnableHypermediaSupport(type=HAL) public class ConfigCommands extends Object implements org.springframework.shell.core.CommandMarker, org.springframework.beans.factory.InitializingBean
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_HOST |
static int |
DEFAULT_PORT |
static String |
DEFAULT_SCHEME |
static String |
DEFAULT_TARGET |
| Constructor and Description |
|---|
ConfigCommands() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
static org.springframework.web.client.RestTemplate |
restTemplate() |
String |
target(String targetUriString) |
public static final String DEFAULT_SCHEME
public static final String DEFAULT_HOST
public static final int DEFAULT_PORT
public static final String DEFAULT_TARGET
@CliCommand(value="admin config server",
help="Configure the Spring Cloud Data Flow REST server to use")
public String target(@CliOption(mandatory=false,key={"","uri"},help="the location of the Spring Cloud Data Flow REST endpoint",unspecifiedDefaultValue="http://localhost:9393/")
String targetUriString)
public void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanException@Bean public static org.springframework.web.client.RestTemplate restTemplate()
Copyright © 2015 Pivotal Software, Inc.. All rights reserved.