public class StringObjectDescription extends Object implements ObjectDescriptor
ObjectDescriptor
that simply returns the description that was passed
in when the object was created.Constructor and Description |
---|
StringObjectDescription(String description)
Creates a new StringObjectDescription object.
|
Modifier and Type | Method and Description |
---|---|
String |
getDescription(Map properties,
Map values)
Returns the description used when creating the object.
|
Map |
validateProperties(Map values) |
public StringObjectDescription(String description)
description
- Description to use when called by the owning ObjectConfigurationpublic String getDescription(Map properties, Map values)
getDescription
in interface ObjectDescriptor
public Map validateProperties(Map values)
validateProperties
in interface ObjectDescriptor
Copyright © 2002-2021 Atlassian. All Rights Reserved.