Package com.atlassian.configurable
Interface ObjectConfigurable
- All Known Subinterfaces:
 JiraService,JiraServiceContainer
- All Known Implementing Classes:
 AbstractMessageHandlingService,AbstractService,AuditLogCleaningService,CacheFlusher,ClusterMessageCleaningService,DebugService,ExportService,FileService,ImapService,IndexSnapshotService,JiraHomeReplicatorService,JiraServiceContainerImpl,MailFetcherService,MailQueueService,MockJiraServiceContainer,NodeStateCheckerService,PopService,ReferenceDebugService,ReplicatedIndexCleaningService,UnloadableJiraServiceContainer
@PublicSpi
public interface ObjectConfigurable
This interface should be implemented by any classes that are configured using
 an Object Configuration.
- Author:
 - Owen Fellows
 
- 
Method Summary
Modifier and TypeMethodDescriptiongetDefaultProperty(String propertyKey) Returns the default property value for a keygetKey()Return the key of this objectgetLongProperty(String propertyKey) Returns a property of this object with the specified key as a longRetrieves an object configuration object with properties that can be setcom.opensymphony.module.propertyset.PropertySetRetrieve all the specified Properties for this objectgetProperty(String propertyKey) Returns a property of this object with the specified keygetTextProperty(String propertyKey) Returns a property of this object with the specified key, the property is of type textbooleanhasProperty(String propertyKey) Checks if this object has a particular property 
- 
Method Details
- 
getObjectConfiguration
Retrieves an object configuration object with properties that can be set- Returns:
 - ObjectConfiguration object
 - Throws:
 ObjectConfigurationException
 - 
hasProperty
Checks if this object has a particular property- Parameters:
 propertyKey- to look for- Returns:
 - true If there is a value
 - Throws:
 ObjectConfigurationException
 - 
getProperty
Returns a property of this object with the specified key- Parameters:
 propertyKey- String key used to retrieve the property value- Returns:
 - Property value
 - Throws:
 ObjectConfigurationException
 - 
getTextProperty
Returns a property of this object with the specified key, the property is of type text- Parameters:
 propertyKey- String key used to retrieve the property value- Returns:
 - Property value
 - Throws:
 ObjectConfigurationException
 - 
getLongProperty
Returns a property of this object with the specified key as a long- Parameters:
 propertyKey- String key used to retrieve the property value- Returns:
 - Property value
 - Throws:
 ObjectConfigurationException
 - 
getDefaultProperty
Returns the default property value for a key- Parameters:
 propertyKey- String key used to retrieve the properties default value- Returns:
 - Default property key
 - Throws:
 ObjectConfigurationException
 - 
getProperties
Retrieve all the specified Properties for this object- Returns:
 - Set of properties for this object
 - Throws:
 ObjectConfigurationException
 - 
getKey
String getKey()Return the key of this object- Returns:
 - Key of object
 
 
 -