Interface Renamable

All Known Implementing Classes:
AbstractBndGenerator, AbstractGenerator, BndAnalyzer, BndBaseliner, ClasspathScanner, EclipseConfigurator, JarBuilder, JavaCompiler, Javadoc, JavadocJarGenerator, JavaExecutor, JavaResourceCollector, JavaTool, JUnitTestRunner, LibraryBuilder, MvnPublisher, PomFileGenerator, ResourceCollector, SourcesJarGenerator, UberJarBuilder, VscodeConfigurator

public interface Renamable

All ResourceProviders have a name, but not all allow the name to be changed after creation. ResourceProviders that allow renaming should implement this interface.

Make sure to redefine the return type of name(String) to the type of the implementing class. Else the method cannot be used in the fluent API.

  • Method Summary

    Modifier and Type
    Method
    Description
    name(String name)
    Set the new name.
  • Method Details

    • name

      Set the new name.
      Parameters:
      name - the name
      Returns:
      the renamable