public class NestedComponentDeclarer<T extends NestedComponentDeclarer,D extends NestedComponentDeclaration> extends Declarer<D> implements HasModelProperties<T>
NestedComponentDeclaration through a fluent APIdeclaration| Constructor and Description |
|---|
NestedComponentDeclarer(D declaration)
Creates a new instance
|
| Modifier and Type | Method and Description |
|---|---|
T |
describedAs(String description)
Adds a description
|
NestedComponentDeclarer |
withAllowedStereotypes(StereotypeModel... stereotypes)
Adds the given
stereotypes to the ones which are allowed on
the route. |
T |
withModelProperty(ModelProperty modelProperty)
Adds the given
modelProperty |
getDeclarationpublic NestedComponentDeclarer(D declaration)
declaration - the NestedComponentDeclaration to be configuredpublic NestedComponentDeclarer withAllowedStereotypes(StereotypeModel... stereotypes)
stereotypes to the ones which are allowed on
the route.stereotypes - the stereotypes to addthis declarerpublic T withModelProperty(ModelProperty modelProperty)
HasModelPropertiesmodelPropertywithModelProperty in interface HasModelProperties<T extends NestedComponentDeclarer>modelProperty - a ModelPropertythis declarerCopyright © 2017 MuleSoft, Inc.. All rights reserved.