org.apache.maven.mercury.artifact.api
Interface Configurable

All Known Subinterfaces:
VersionRange

public interface Configurable

provides a way to configure an object instance, if that object supports the idea

Version:
$Id: Configurable.java 762963 2009-04-07 21:01:07Z ogusakov $
Author:
Oleg Gusakov

Method Summary
 void setOption(java.lang.String name, java.lang.Object val)
          configure this instance
 

Method Detail

setOption

void setOption(java.lang.String name,
               java.lang.Object val)
               throws ConfigurationException
configure this instance

Parameters:
name - of the configurable property
val - configuration value
Throws:
ConfigurationException


Copyright © 2002-2010 Apache Software Foundation. All Rights Reserved.