@ShellComponent @ShellCommandGroup(value="Common Functions") public class Common extends Object
| Constructor and Description |
|---|
Common() |
| Modifier and Type | Method and Description |
|---|---|
void |
accessToken(String jwt) |
void |
enableClientDebug(String debugEnabled) |
void |
getClientDebug() |
void |
getLogLevel() |
void |
getUserAgent() |
void |
proxy(String proxy) |
void |
server(String url) |
void |
setLogLevel(ch.qos.logback.classic.Level targetLevel) |
void |
setUserAgent(String userAgent) |
void |
verifyingSsl(String verifyingSsl) |
@ShellMethod(value="Set CDS server URL, e.g. http://data.holder/cds-au/v1")
public void server(@ShellOption
String url)
@ShellMethod(value="Set proxy, e.g. http://http-proxy:8080, https://https-proxy:8443, socks://socks-proxy:5050, none")
public void proxy(@ShellOption
String proxy)
@ShellMethod(value="Set verifyingSsl, e.g. true, false")
public void verifyingSsl(@ShellOption
String verifyingSsl)
@ShellMethod(value="Setup minimum log level, default is INFO")
public void setLogLevel(@ShellOption
ch.qos.logback.classic.Level targetLevel)
@ShellMethod(value="Retrieve current minimum log level") public void getLogLevel()
@ShellMethod(value="Set browser user-agent")
public void setUserAgent(@ShellOption
String userAgent)
@ShellMethod(value="Get browser user-agent") public void getUserAgent()
@ShellMethod(value="Enable client debug")
public void enableClientDebug(@ShellOption(help="true / false")
String debugEnabled)
@ShellMethod(value="Client debug enabled") public void getClientDebug()
@ShellMethod(value="Set access token to send as the Authorization: Bearer header")
public void accessToken(@ShellOption
String jwt)
Copyright © 2019. All rights reserved.