public abstract class RuleDescriptor<T extends ConstructorArg> extends Object
Constructor and Description |
---|
RuleDescriptor() |
Modifier and Type | Method and Description |
---|---|
DataTransferObjectDescriptor<T> |
dataTransferObjectDescriptor(TypeCoercerFactory typeCoercerFactory) |
Class<T> |
getConstructorArgType() |
abstract BaseDescription<T> |
getDescription() |
abstract java.util.function.Function<TypeCoercerFactory,DataTransferObjectDescriptor<T>> |
getDtoDescriptor() |
abstract RuleType |
getRuleType() |
static <T extends ConstructorArg> |
of(RuleType ruleType,
BaseDescription<T> description,
java.util.function.Function<TypeCoercerFactory,DataTransferObjectDescriptor<T>> dtoDescriptor) |
public abstract RuleType getRuleType()
public abstract BaseDescription<T> getDescription()
public abstract java.util.function.Function<TypeCoercerFactory,DataTransferObjectDescriptor<T>> getDtoDescriptor()
public DataTransferObjectDescriptor<T> dataTransferObjectDescriptor(TypeCoercerFactory typeCoercerFactory)
public static <T extends ConstructorArg> RuleDescriptor<T> of(RuleType ruleType, BaseDescription<T> description, java.util.function.Function<TypeCoercerFactory,DataTransferObjectDescriptor<T>> dtoDescriptor)