Class BndPluginConvention

java.lang.Object
aQute.bnd.gradle.BndPluginConvention

@Deprecated public class BndPluginConvention extends Object
Deprecated.
Replaced by BndPluginExtension.
BndPluginConvention for Gradle.
  • Constructor Details

    • BndPluginConvention

      public BndPluginConvention(BndPluginExtension extension)
      Deprecated.
      Create a BndPlugin convention.
      Parameters:
      extension - The BndPlugin extension.
  • Method Details

    • getProject

      public aQute.bnd.build.Project getProject()
      Deprecated.
      Return the Bnd Project for the convention.
      Returns:
      The Bnd Project for the convention.
    • bndis

      public boolean bndis(String name)
      Deprecated.
      Return a boolean value for the specified property.
      Parameters:
      name - The property name.
      Returns:
      A boolean value for the specified property.
    • bnd

      public String bnd(String name)
      Deprecated.
      Return the trimmed value of the specified property.
      Parameters:
      name - The property name.
      Returns:
      The trimmed value of the specified property.
    • bndMerge

      public String bndMerge(String name)
      Deprecated.
      Return the trimmed value of the specified merged property.
      Parameters:
      name - The property name.
      Returns:
      The trimmed value of the specified merged property.
    • bnd

      public Object bnd(String name, Object defaultValue)
      Deprecated.
      Return the trimmed value of the specified property.
      Parameters:
      name - The property name.
      defaultValue - The default value if the specified property does not exist.
      Returns:
      The trimmed value of the specified property.
    • bndProcess

      public String bndProcess(String line)
      Deprecated.
      Return the macro processed value of the specified line.
      Parameters:
      line - The line to macro process.
      Returns:
      The macro processed value of the specified line.
    • bndUnprocessed

      public Object bndUnprocessed(String name, Object defaultValue)
      Deprecated.
      Return the trimmed unprocessed value of the specified property.
      Parameters:
      name - The property name.
      defaultValue - The default value if the specified property does not exist.
      Returns:
      The trimmed unprocessed value of the specified property.
    • propertyMissing

      public String propertyMissing(String name)
      Deprecated.
      Handle a missing property.
      Parameters:
      name - The requested property name.
      Returns:
      A value for the requested property.
      Throws:
      groovy.lang.MissingPropertyException - If this method cannot supply a value.