public class EffectorBase<T> extends java.lang.Object implements Effector<T>
EffectorTasks.EffectorTaskFactory
and EffectorWithBody
)Constructor and Description |
---|
EffectorBase(java.lang.String name,
java.lang.Class<T> returnType,
java.util.List<ParameterType<?>> parameters,
java.lang.String description) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object other) |
java.lang.String |
getDescription()
optional description for the effector
|
java.lang.String |
getName()
human-friendly name of the effector (although frequently this uses java method naming convention)
|
java.util.List<ParameterType<?>> |
getParameters()
parameters expected by method, including name and type, optional description and default value
|
java.lang.Class<T> |
getReturnType() |
java.lang.String |
getReturnTypeName()
canonical name of return type (in case return type does not resolve after serialization)
|
int |
hashCode() |
java.lang.String |
toString() |
public EffectorBase(java.lang.String name, java.lang.Class<T> returnType, java.util.List<ParameterType<?>> parameters, java.lang.String description)
public java.lang.String getName()
Effector
public java.lang.Class<T> getReturnType()
getReturnType
in interface Effector<T>
public java.lang.String getReturnTypeName()
Effector
getReturnTypeName
in interface Effector<T>
public java.util.List<ParameterType<?>> getParameters()
Effector
getParameters
in interface Effector<T>
public java.lang.String getDescription()
Effector
getDescription
in interface Effector<T>
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object