Package com.tick42.glue.core.interop
Class MethodDefinition
java.lang.Object
com.tick42.glue.core.interop.MethodDefinition
Describes an Interop method.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic class -
Method Summary
Modifier and TypeMethodDescriptionstatic MethodDefinition.BuilderCrates aMethodDefinition.Builderfor specified name.static MethodDefinitionBuilds a method definition for specified name.Returns the signature of accepted arguments.Returns a description of what the method does.Returns additional metadata key-value pairs.getName()Returns the name of the method.Returns the entities this method is meant to work with.Returns the signature of returned result.toString()
-
Method Details
-
forName
Builds a method definition for specified name.- Parameters:
method- name of the method, must not benull- Returns:
- a method definition
-
builder
Crates aMethodDefinition.Builderfor specified name.- Parameters:
name- name of the method, must not benull- Returns:
- a method definition builder
-
getName
Returns the name of the method.- Returns:
- the name of the method, never
null
-
getObjectTypes
Returns the entities this method is meant to work with.- Returns:
- the entities this method is meant to work with, never
null
-
getMetadata
Returns additional metadata key-value pairs.- Returns:
- additional metadata key-value pairs, never
null - Since:
- 1.4.3
-
getDescription
Returns a description of what the method does.- Returns:
- a description of what the method does, may be
null
-
getDisplayName
-
getAccepts
Returns the signature of accepted arguments.- Returns:
- the signature of accepted arguments, may be
null - Since:
- 1.2
-
getReturns
Returns the signature of returned result.- Returns:
- signature of returned result, may be
null - Since:
- 1.2
-
toString
-