public interface

ModuleConfigurationStore

com.atlassian.fisheye.plugin.configuration.ModuleConfigurationStore

Class Overview

Configuration data store for plugin modules.

Summary

Public Methods
abstract byte[] getConfiguration(ModuleDescriptor descriptor)
Get a plugin module's configuration data.
abstract void putConfiguration(ModuleDescriptor descriptor, byte[] configuration)
Store configuration data for a plugin module.

Public Methods

public abstract byte[] getConfiguration (ModuleDescriptor descriptor)

Get a plugin module's configuration data. Returns null if we have never stored data for this module.

Parameters
descriptor the ModuleDescriptor of the plugin module we are storing the data for.
Returns
  • a byte[] containing the data, or null if we have never stored data.

public abstract void putConfiguration (ModuleDescriptor descriptor, byte[] configuration)

Store configuration data for a plugin module.

Parameters
descriptor the ModuleDescriptor of the plugin module we are storing the data for.
configuration the data in a byte[]. Must not be null