public interface IWithProperties
| Modifier and Type | Method and Description |
|---|---|
static void |
copy(IWithProperties from,
IWithProperties to)
Copy all
IWithProperties Unless destination already has the property.
Properties are cloned before copying. |
Property |
getProperty(String name)
Gets the resource-level property for a given name.
|
Set<String> |
getPropertyNames()
Gets the names of all the resource-level properties for this resource.
|
boolean |
hasProperty(String name)
Indicates if a resource-level property exists for a given name.
|
void |
removeProperty(String name)
Removes a resource-level property of a given name.
|
Property |
setProperty(Property property)
Sets a resource-level property.
|
static void copy(IWithProperties from, IWithProperties to)
IWithProperties Unless destination already has the property.
Properties are cloned before copying.from - source of IWithPropertiesto - destination of IWithPropertiesProperty getProperty(String name)
name - Name of the property to retrieve.Set<String> getPropertyNames()
boolean hasProperty(String name)
name - The name of the resource-level property to query.void removeProperty(String name)
name - The name of the property to remove.Copyright © 2021. All rights reserved.