public class MetaDataBuilder extends Object
A class that build the management view meta data of a specified class.
The following rules do apply to the class from which meta data are constructed:ManagedManagedDescriptionManaged is exposed as an attribute ManagedName
redefines the attribute nameManagedDescription
defines the attribute descriptionManaged is exposed
as a management operationManagedDescription
defines the operation descriptionManagedName
causes a built time exceptionManagedName
defines the management name of the corresponding operation parameterManagedDescription
defines the management description of the corresponding operation parameter| Constructor and Description |
|---|
MetaDataBuilder(Class clazz)
Create a new builder.
|
| Modifier and Type | Method and Description |
|---|---|
ManagedTypeMetaData |
build()
Build the info.
|
boolean |
isBuildable() |
public MetaDataBuilder(Class clazz) throws IllegalArgumentException
clazz - the clazzIllegalArgumentException - if the class is null or is not annotated
by Managedpublic boolean isBuildable()
public ManagedTypeMetaData build() throws IllegalStateException
IllegalStateException - raised by any build time issueCopyright © 2020 eXo Platform SAS. All Rights Reserved.