Package com.atlassian.configurable
Class StringObjectDescription
java.lang.Object
com.atlassian.configurable.StringObjectDescription
- All Implemented Interfaces:
ObjectDescriptor
Simple implementation of
ObjectDescriptor
that simply returns the description that was passed
in when the object was created.-
Constructor Summary
ConstructorDescriptionStringObjectDescription
(String description) Creates a new StringObjectDescription object. -
Method Summary
Modifier and TypeMethodDescriptiongetDescription
(Map properties, Map values) Returns the description used when creating the object.validateProperties
(Map values)
-
Constructor Details
-
StringObjectDescription
Creates a new StringObjectDescription object.- Parameters:
description
- Description to use when called by the owning ObjectConfiguration
-
-
Method Details
-
getDescription
Returns the description used when creating the object. The properties and values are not used in this class but are there to allow more complicated descriptions- Specified by:
getDescription
in interfaceObjectDescriptor
- Returns:
- Description when object was created.
-
validateProperties
- Specified by:
validateProperties
in interfaceObjectDescriptor
-