/*
*
* RHQ Sync Tool
* Copyright (C) 2012-2013 Red Hat, Inc.
* All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License,
* version 2.1, as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License and the GNU Lesser General Public License
* for more details.
*
* You should have received a copy of the GNU General Public License
* and the GNU Lesser General Public License along with this program;
* if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
*/
package org.jboss.rhq.sync.tool.actions.impl.impex;
import org.rhq.core.domain.resource.Resource;
/**
* Created by IntelliJ IDEA.
* User: imckinle
* Date: 7/22/11
* Time: 12:55 AM
* only overrides basic properties
*/
public interface PropertyValueOverride {
public String getPropertyToOverride();
/**
* interface sets an overide of a property., this is in the case when the context of the property need to be taken into consideration
*
* @param value
* @param resource
* @return new value to set
*/
public String overrideValue(String value, Resource resource);
}