Class MalcolmMethodMeta
java.lang.Object
org.eclipse.scanning.api.malcolm.connector.MalcolmMethodMeta
A class representing a malcolm method and its meta information. An instance of this class
is returned as the result of a
Type.GET with the name of a MalcolmMethod
as the endpoint. It can be considered to be somewhat like a Method.
Note that this an instance of this class is returned corresponding to both the returned structure "malcolm:core/Method:1.1" structure and the "malcolm:core/MethodMeta:1.1" as we're not interested in the other contents of the Method object, namely the 'took' and 'returned' objects. Additionally, at present we only include the 'defaults' object of the MethodMeta structure (if present), ignoring the 'takes' and 'returns' objects as we currently have no use case for those.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
MalcolmMethodMeta
-
-
Method Details
-
getMethod
- Returns:
- the
MalcolmMethodthat this meta object describes
-
getDefaults
- Returns:
- the default arguments for this method
-
setDefaults
-