Class FileSetRepositoryConvention

java.lang.Object
aQute.bnd.gradle.FileSetRepositoryConvention

@Deprecated public class FileSetRepositoryConvention extends Object
Deprecated.
Function moved into AbstractBndrun type.
Task convention to make a FileSetRepository from a bundles property.
  • Constructor Summary

    Constructors
    Constructor
    Description
    FileSetRepositoryConvention(org.gradle.api.Task task)
    Deprecated.
    Create a FileSetRepositoryConvention for the specified AbstractBndrun task.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.gradle.api.file.ConfigurableFileCollection
    bundles(Object... paths)
    Deprecated.
    Add files to use when locating bundles.
    org.gradle.api.file.ConfigurableFileCollection
    Deprecated.
    The bundles to be added to a FileSetRepository for non-Bnd Workspace builds.
    aQute.bnd.repository.fileset.FileSetRepository
    Deprecated.
    Return a FileSetRepository with the specified name.
    void
    Deprecated.
    Set the files to use when locating bundles.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • FileSetRepositoryConvention

      public FileSetRepositoryConvention(org.gradle.api.Task task)
      Deprecated.
      Create a FileSetRepositoryConvention for the specified AbstractBndrun task.
      Parameters:
      task - The AbstractBndrun task.
  • Method Details

    • getBundles

      public org.gradle.api.file.ConfigurableFileCollection getBundles()
      Deprecated.
      The bundles to be added to a FileSetRepository for non-Bnd Workspace builds.

      This must not be used for Bnd Workspace builds.

      Returns:
      The bundles to be added to a FileSetRepository for non-Bnd Workspace builds.
    • bundles

      public org.gradle.api.file.ConfigurableFileCollection bundles(Object... paths)
      Deprecated.
      Add files to use when locating bundles.
      Parameters:
      paths - The arguments will be handled using ConfigurableFileCollection.from().
      Returns:
      The bundles to be added to a FileSetRepository for non-Bnd Workspace builds.
    • setBundles

      public void setBundles(Object path)
      Deprecated.
      Set the files to use when locating bundles.

      The argument will be handled using ConfigurableFileCollection.from().

      Parameters:
      path - The argument will be handled using ConfigurableFileCollection.from().
    • getFileSetRepository

      public aQute.bnd.repository.fileset.FileSetRepository getFileSetRepository(String name) throws Exception
      Deprecated.
      Return a FileSetRepository with the specified name.
      Parameters:
      name - The name of the repository.
      Returns:
      A FileSetRepository with the specified name.
      Throws:
      Exception - An exception that occured when creating the repository.