| Constructor and Description |
|---|
WheelCall(String functionName,
Optional<Map<String,?>> kwargs,
com.google.gson.reflect.TypeToken<R> returnType) |
| Modifier and Type | Method and Description |
|---|---|
WheelAsyncResult<R> |
callAsync(SaltClient client)
Calls a wheel module function on the master asynchronously and
returns information about the scheduled job that can be used to query the result.
|
WheelAsyncResult<R> |
callAsync(SaltClient client,
String username,
String password,
AuthModule authModule)
Calls a wheel module function on the master asynchronously and
returns information about the scheduled job that can be used to query the result.
|
WheelResult<R> |
callSync(SaltClient client)
Calls a wheel module function on the master and synchronously
waits for the result.
|
WheelResult<R> |
callSync(SaltClient client,
String username,
String password,
AuthModule authModule)
Calls a wheel module function on the master and synchronously
waits for the result.
|
Map<String,Object> |
getPayload()
Return the call payload as a map of key/value pairs.
|
com.google.gson.reflect.TypeToken<R> |
getReturnType() |
public com.google.gson.reflect.TypeToken<R> getReturnType()
public Map<String,Object> getPayload()
getPayload in interface Call<R>public WheelAsyncResult<R> callAsync(SaltClient client) throws SaltException
client - SaltClient instanceSaltException - if anything goes wrongpublic WheelAsyncResult<R> callAsync(SaltClient client, String username, String password, AuthModule authModule) throws SaltException
client - SaltClient instanceusername - username for authenticationpassword - password for authenticationauthModule - authentication module to useSaltException - if anything goes wrongpublic WheelResult<R> callSync(SaltClient client) throws SaltException
client - SaltClient instanceSaltException - if anything goes wrongpublic WheelResult<R> callSync(SaltClient client, String username, String password, AuthModule authModule) throws SaltException
client - SaltClient instanceusername - username for authenticationpassword - password for authenticationauthModule - authentication module to useSaltException - if anything goes wrongCopyright © 2016. All rights reserved.