public class ModelDescriptorBuilder
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
ModelDescriptorBuilder.MojoModelDescriptor |
static class |
ModelDescriptorBuilder.PojoModelDescriptor |
Constructor and Description |
---|
ModelDescriptorBuilder() |
Modifier and Type | Method and Description |
---|---|
static ModelDescriptor |
makeDescriptor(GenModel pojoModel) |
static ModelDescriptor |
makeDescriptor(MojoModel mojoModel,
java.lang.String fullAlgorithmName,
ModelAttributes modelAttributes)
Builds an instance of
ModelDescriptor , using information provided by the serialized model and
which corresponding implementations of ModelMojoReader are able to provide. |
public static ModelDescriptor makeDescriptor(MojoModel mojoModel, java.lang.String fullAlgorithmName, ModelAttributes modelAttributes)
ModelDescriptor
, using information provided by the serialized model and
which corresponding implementations of ModelMojoReader
are able to provide.mojoModel
- A MojoModel to extract the model description fromfullAlgorithmName
- A full name of the algorithmmodelAttributes
- Optional model attributesModelDescriptor
public static ModelDescriptor makeDescriptor(GenModel pojoModel)