@Component
public class XDShell
extends java.lang.Object
implements org.springframework.shell.core.CommandMarker, org.springframework.beans.factory.InitializingBean
Constructor and Description |
---|
XDShell() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
SpringXDOperations |
getSpringXDOperations() |
Target |
getTarget()
Return the
Target which encapsulates not only the Target URI but also success/error messages + status. |
java.lang.String |
info() |
java.lang.String |
target(java.lang.String targetUriString) |
public Target getTarget()
Target
which encapsulates not only the Target URI but also success/error messages + status.@CliCommand(value="admin config server", help="Configure the XD admin server to use") public java.lang.String target(@CliOption(mandatory=false,key={"","uri"},help="the location of the XD Admin REST endpoint",unspecifiedDefaultValue="http://localhost:9393/") java.lang.String targetUriString)
@CliCommand(value="admin config info", help="Show the XD admin server being used") public java.lang.String info()
public SpringXDOperations getSpringXDOperations()
public void afterPropertiesSet() throws java.lang.Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
java.lang.Exception