@PublicEvolving public interface Descriptor
Typical characteristics of a descriptor are: - descriptors have a default constructor - descriptors themselves contain very little logic - corresponding validators validate the correctness (goal: have a single point of validation)
A descriptor is similar to a builder in a builder pattern, thus, mutable for building properties.
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
toProperties()
Converts this descriptor into a set of properties.
|
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.