Package com.suse.salt.netapi.calls
Class AbstractCall<R>
- java.lang.Object
-
- com.suse.salt.netapi.calls.AbstractCall<R>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getFunctionName()
Return just the function name (e.g.String
getModuleName()
Return the module name.com.google.gson.reflect.TypeToken<R>
getReturnType()
Return the return type of this call.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.suse.salt.netapi.calls.Call
getPayload
-
-
-
-
Method Detail
-
getReturnType
public com.google.gson.reflect.TypeToken<R> getReturnType()
Return the return type of this call.- Returns:
- returnType the return type of this call
-
getModuleName
public String getModuleName()
Return the module name.- Returns:
- moduleName the module name
-
getFunctionName
public String getFunctionName()
Return just the function name (e.g. "ping" ).- Returns:
- just the function name (e.g. "ping").
-
-