@ProviderType public final class ConfigurationMetadata extends Object
Constructor and Description |
---|
ConfigurationMetadata(String name,
Collection<PropertyMetadata<?>> propertyMetadata,
boolean collection) |
Modifier and Type | Method and Description |
---|---|
T |
description(String description) |
String |
getDescription() |
String |
getLabel() |
String |
getName() |
Map<String,String> |
getProperties() |
Map<String,PropertyMetadata<?>> |
getPropertyMetadata() |
boolean |
isCollection() |
boolean |
isSingleton() |
T |
label(String label) |
T |
properties(Map<String,String> properties) |
String |
toString() |
public ConfigurationMetadata(@Nonnull String name, Collection<PropertyMetadata<?>> propertyMetadata, boolean collection)
name
- Configuration namepropertyMetadata
- Property metadatacollection
- Collectionpublic boolean isSingleton()
public boolean isCollection()
public Map<String,PropertyMetadata<?>> getPropertyMetadata()
@Nonnull public String getName()
public String getLabel()
public T label(String label)
label
- Labelpublic String getDescription()
public T description(String description)
description
- Descriptionpublic Map<String,String> getProperties()
public T properties(Map<String,String> properties)
properties
- Further properties for documentation and configuration of behavior in configuration editor.Copyright © 2017 The Apache Software Foundation. All rights reserved.