public final class ComponentExecutorModelProperty extends Object implements ModelProperty
ModelProperty
meant to be used on component models
,
which provides access to a ComponentExecutorFactory
used to execute such componentConstructor and Description |
---|
ComponentExecutorModelProperty(ComponentExecutorFactory executorFactory)
Creates a new instance
|
Modifier and Type | Method and Description |
---|---|
ComponentExecutorFactory |
getExecutorFactory() |
String |
getName()
A unique name which identifies this property.
|
boolean |
isPublic()
Whether this instance should be included when serializing or sharing
the owning
EnrichableModel or if on the contrary, this model property
holds information which is proprietary to the runtime and should not
communicated. |
public ComponentExecutorModelProperty(ComponentExecutorFactory executorFactory)
executorFactory
- a ComponentExecutorFactory
public ComponentExecutorFactory getExecutorFactory()
ComponentExecutorFactory
public String getName()
getName
in interface ModelProperty
getName
in interface NamedObject
public boolean isPublic()
ModelProperty
EnrichableModel
or if on the contrary, this model property
holds information which is proprietary to the runtime and should not
communicated.
Non public properties should be skipped by serializers and any other kind of sharing mechanisms.
BEWARE: Non public model properties are not to be considered API and thus nobody (or anything) should depend on it. Backwards compatibility will not be guaranteed on non public properties.
isPublic
in interface ModelProperty
false
Copyright © 2018. All rights reserved.