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