@ScannerSide @ServerSide @ComputeEngineSide public final class PropertyDefinitions extends java.lang.Object
Constructor and Description |
---|
PropertyDefinitions(java.util.Collection<PropertyDefinition> components) |
PropertyDefinitions(java.lang.Object... components) |
Modifier and Type | Method and Description |
---|---|
PropertyDefinitions |
addComponent(java.lang.Object object) |
PropertyDefinitions |
addComponent(java.lang.Object component,
java.lang.String defaultCategory) |
PropertyDefinitions |
addComponents(java.util.Collection components) |
PropertyDefinitions |
addComponents(java.util.Collection components,
java.lang.String defaultCategory) |
PropertyDefinition |
get(java.lang.String key) |
java.util.Collection<PropertyDefinition> |
getAll() |
java.lang.String |
getCategory(Property prop) |
java.lang.String |
getCategory(java.lang.String key) |
java.lang.String |
getDefaultValue(java.lang.String key) |
java.lang.String |
getDeprecatedKey(java.lang.String key) |
java.lang.String |
getNewKey(java.lang.String deprecatedKey) |
java.lang.String |
getSubCategory(java.lang.String key) |
java.util.Map<Category,java.util.Map<SubCategory,java.util.Collection<PropertyDefinition>>> |
propertiesByCategory(java.lang.String qualifier) |
java.lang.String |
validKey(java.lang.String key) |
public PropertyDefinitions(java.lang.Object... components)
public PropertyDefinitions(java.util.Collection<PropertyDefinition> components)
public PropertyDefinitions addComponents(java.util.Collection components)
public PropertyDefinitions addComponents(java.util.Collection components, java.lang.String defaultCategory)
public PropertyDefinitions addComponent(java.lang.Object object)
public PropertyDefinitions addComponent(java.lang.Object component, java.lang.String defaultCategory)
@CheckForNull public PropertyDefinition get(java.lang.String key)
public java.util.Collection<PropertyDefinition> getAll()
public java.lang.String validKey(java.lang.String key)
public java.util.Map<Category,java.util.Map<SubCategory,java.util.Collection<PropertyDefinition>>> propertiesByCategory(@Nullable java.lang.String qualifier)
@CheckForNull public java.lang.String getDefaultValue(java.lang.String key)
public java.lang.String getCategory(java.lang.String key)
public java.lang.String getSubCategory(java.lang.String key)
public java.lang.String getCategory(Property prop)
public java.lang.String getNewKey(java.lang.String deprecatedKey)
public java.lang.String getDeprecatedKey(java.lang.String key)