I trying to learn about QB plugings programming, I fellow the tutorials from this link: http://wiki.pmease.com/display/QB61/Wor ... n+Settings
but I'm stuck in this example:
Finally modify MyAnotherStep.java to make use of the configuration level prefix:
... // omitted for brevity
public class MyAnotherStep extends Step {
... // omitted for brevity
@Override
public void run() {
// You may also get the plugin setting object through PluginSettingHelper
MyPluginSetting pluginSetting = (MyPluginSetting) getPlugin().getSetting(Context.getConfiguration());
Context.getLogger().info(pluginSetting.getPrefix() + ": " + getMessage());
}
}
I have this error on eclipse:
The method getSetting(boolean) in the type Plugin is not applicable for the arguments (Configuration).
here's the javadoc of the function:
getSetting
java.lang.Object getSetting(boolean interpolate)
Get global plugin setting. The param determines whether or not to interpolate the setting. Return null if not defined
I'm using QuickBuild server 6.1.5 with jdk6u45
Could you please help me to fix this error?
Thank you very much.