public class OperationDefinition
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
OperationDefinition.Builder
Builder for an operation definition.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
java.lang.reflect.Type |
getInputType()
Input type.
|
@Nullable java.lang.String |
getMethodName()
Method name the operation is on if this was created via reflection.
|
java.lang.String |
getName()
Operation name.
|
java.lang.reflect.Type |
getOutputType()
Output type.
|
int |
hashCode() |
static OperationDefinition.Builder |
newBuilder()
Create a builder for an operation definition.
|
static OperationDefinition.Builder |
newBuilder(OperationDefinition definition)
Create a builder for an operation definition from an existing operation definition.
|
java.lang.String |
toString() |
public static OperationDefinition.Builder newBuilder()
public static OperationDefinition.Builder newBuilder(OperationDefinition definition)
public java.lang.String getName()
public @Nullable java.lang.String getMethodName()
public java.lang.reflect.Type getInputType()
Void.TYPE if no input type.public java.lang.reflect.Type getOutputType()
Void.TYPE if void return.public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object