<commit_before>package org.pentaho.di.repository;


/**
 * This interface allows you to pass a simple interface to an object to allow it 
 * to store or load itself from or to any type of repository in a generic fashion.
 * @author matt
 *
 */
public interface RepositoryAttributeInterface {

	public void setAttribute(String code, String value);
	public String getAttribute(String code);
	public void setAttribute(String code, boolean value);
	public boolean getAttributeBoolean(String code, boolean defaultValue);
	public void setAttribute(String code, long value);
	public long getAttributeInteger(String code, long defaultValue);
}<commit_msg>PDI-3389 : Job and Trans log tables are not properly stored and loaded from the repositories (throw exceptions)<commit_after>package org.pentaho.di.repository;

import org.pentaho.di.core.exception.KettleException;


/**
 * This interface allows you to pass a simple interface to an object to allow it 
 * to store or load itself from or to any type of repository in a generic fashion.
 * @author matt
 *
 */
public interface RepositoryAttributeInterface {

	public void setAttribute(String code, String value) throws KettleException;
	public String getAttribute(String code) throws KettleException;
	public void setAttribute(String code, boolean value) throws KettleException;
	public boolean getAttributeBoolean(String code, boolean defaultValue) throws KettleException;
	public void setAttribute(String code, long value) throws KettleException;
	public long getAttributeInteger(String code, long defaultValue) throws KettleException;
}
{'fraction_non_alphanumeric': 0.06056782334384858, 'fraction_numerical': 0.002523659305993691, 'mean_word_length': 5.635983263598327, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5936991', 'n_tokens_mistral': 399, 'n_tokens_neox': 379, 'n_words': 174}