Package com.tick42.glue.core.interop

# Class MethodDefinition

java.lang.Object
com.tick42.glue.core.interop.MethodDefinition

    public final class MethodDefinition
    extends Object

- ## Nested Class Summary

  Nested Classes
  Modifier and Type | Class | Description
  --- | --- | ---
  `static class` | `MethodDefinition.Builder` |
  `static class` | `MethodDefinition.BuilderBase<B extends MethodDefinition.BuilderBase<B>>` |

- ## Method Summary

  Modifier and Type | Method | Description
  --- | --- | ---
  `static MethodDefinition.Builder` | `builder​(String name)` |
  `static MethodDefinition` | `forName​(String method)` |
  `String` | `getAccepts()` | The signature of accepted arguments.
  `String` | `getDescription()` |
  `String` | `getDisplayName()` |
  `String` | `getName()` |
  `Set<String>` | `getObjectTypes()` |
  `String` | `getReturns()` | The signature of returned result.
  `String` | `toString()` |

  ### Methods inherited from class java.lang.Object

  `equals, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Method Details

  - ### forName

    public static MethodDefinition forName​(String method)

  - ### builder

    public static MethodDefinition.Builder builder​(String name)

  - ### getName

    public String getName()

  - ### getObjectTypes

    public Set<String> getObjectTypes()

  - ### getDescription

    public String getDescription()

  - ### getDisplayName

    public String getDisplayName()

  - ### getAccepts

    public String getAccepts()
    The signature of accepted arguments.
    Returns:
      signature of accepted arguments
    Since:
      1.2

  - ### getReturns

    public String getReturns()
    The signature of returned result.
    Returns:
      signature of returned result
    Since:
      1.2

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Object`