Class RebuildParameterProvider

java.lang.Object
com.sonyericsson.rebuild.RebuildParameterProvider
All Implemented Interfaces:
ExtensionPoint

public abstract class RebuildParameterProvider extends Object implements ExtensionPoint
Extension point to provide views to show parameters in rebuild page. If you want your custom ParameterValue to work with rebuild plugin, do as followings:
  1. Add a dependency to rebuild plugin to your pom.xml. You should specify <optional>true</optional> to have your plugin work without rebuild plugin.
  2. Define a class implementing RebuildParameterProvider.
  3. Annotate the class with Extension. You should specify option=true in Extension annotation to have your plugin work without rebuild plugin.
  4. Override getRebuildPage(ParameterValue). Don't forget to return null for parameter values other than your custom ParameterValue. There are two recommended ways to set values to RebuildParameterPage:
    Recommended way to set values
      Recommended 1 Recommended 2
    clazz your custom ParameterValue the class implementing RebuildParameterProvider
    page a file in the resource directory of your custom ParameterValue a file in the resource directory of the class implementing RebuildParameterProvider