Modifier and Type | Class and Description |
---|---|
static class |
ConfigurationInfo.Supports
Service configuration-types can support different abilities.
|
Modifier and Type | Field and Description |
---|---|
protected boolean |
valid
validity flag
|
Constructor and Description |
---|
ConfigurationInfo(Collection<PropertyInfo> properties,
Map<String,String> attributes)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addError(String error) |
void |
addErrors(Collection<String> errors) |
void |
ensureDefaultAttributes()
Set the default value of all type attributes which are not already specified.
|
Map<String,Map<String,String>> |
getAttributes()
Obtain the configuration attributes.
|
Collection<String> |
getErrors() |
Collection<PropertyInfo> |
getProperties()
Obtain the configuration properties.
|
boolean |
isValid() |
void |
setValid(boolean valid) |
public ConfigurationInfo(Collection<PropertyInfo> properties, Map<String,String> attributes)
properties
- configuration propertiesattributes
- configuration attributespublic Collection<PropertyInfo> getProperties()
public Map<String,Map<String,String>> getAttributes()
public void ensureDefaultAttributes()
public boolean isValid()
public void setValid(boolean valid)
public Collection<String> getErrors()
public void addErrors(Collection<String> errors)
Copyright © 2022 Apache Software Foundation. All rights reserved.