Package | org.spicefactory.parsley.core.builder.impl |
Class | public class DefaultPropertyBuilder |
Inheritance | DefaultPropertyBuilder Object |
Implements | PropertyBuilder, ObjectDefinitionBuilderPart |
Method | Defined By | ||
---|---|---|---|
DefaultPropertyBuilder(property:Property)
Creates a new instance. | DefaultPropertyBuilder | ||
apply(target:ObjectDefinition):void
Applies this builder part to the final definition
| DefaultPropertyBuilder | ||
Adds a processor for this property. | DefaultPropertyBuilder | ||
value(value:*):void
Sets the value of this property. | DefaultPropertyBuilder |
DefaultPropertyBuilder | () | Constructor |
public function DefaultPropertyBuilder(property:Property)
Creates a new instance.
Parametersproperty:Property — the property to configure
|
apply | () | method |
public function apply(target:ObjectDefinition):void
Applies this builder part to the final definition
Parameters
target:ObjectDefinition — the final definition to apply this part to
|
process | () | method |
public function process(processor:PropertyProcessor):PropertyProcessorBuilder
Adds a processor for this property.
Parameters
processor:PropertyProcessor — the property processor to add
|
PropertyProcessorBuilder — a builder for configuring the processor
|
value | () | method |
public function value(value:*):void
Sets the value of this property. This may be a simple value
or an instance that implements ResolvableValue
to be resolved
at the time the value will be injected into the property, like those values returned
by Inject.byType()
and related methods.
Parameters
value:* — the property value to apply
|