audiojury.domain
Interface ConfigProcessing

All Known Implementing Classes:
ConfigManager, ConfigPlugin

public interface ConfigProcessing

This interface specifies the operations that a configuration storage plugin should have.

See Also:
ConfigBase, ConfigPlugin

Method Summary
 java.lang.String getValue(int type)
          Gets the value of a a configuration parameter.
 java.lang.String[] getValues(int type)
          Gets the values of a a multi-valued configuration parameter.
 void setValue(int type, java.lang.String value)
          Sets a configuration parameter.
 void setValues(int type, java.lang.String[] values)
          Sets a multi-valued configuration parameter.
 

Method Detail

setValues

public void setValues(int type,
                      java.lang.String[] values)
Sets a multi-valued configuration parameter.

Parameters:
type - A parameter constant as defined in audiojury.domain.ConfigBase.
values - The values to assign to the configuration parameter.

getValues

public java.lang.String[] getValues(int type)
Gets the values of a a multi-valued configuration parameter.

Parameters:
type - A parameter identifier as defined in audiojury.domain.ConfigBase.
Returns:
The values of the configuration parameter.

setValue

public void setValue(int type,
                     java.lang.String value)
Sets a configuration parameter.

Parameters:
type - A parameter identifier as defined in audiojury.domain.ConfigBase.
value - The value to assign to the configuration parameter.

getValue

public java.lang.String getValue(int type)
Gets the value of a a configuration parameter.

Parameters:
type - A parameter identifier as defined in audiojury.domain.ConfigBase.
Returns:
The value of the configuration parameter.