Class Project.Target

java.lang.Object
de.sormuras.bach.Project.Target
Enclosing class:
Project

public class Project.Target
extends java.lang.Object
Collection of directories and other realm-specific assets.
  • Field Summary

    Fields 
    Modifier and Type Field Description
    java.nio.file.Path directory
    Base target directory of the realm.
    java.nio.file.Path modules
    Directory of modular JAR files.
    Project.Realm realm
    Associated realm.
  • Method Summary

    Modifier and Type Method Description
    java.lang.String file​(Project.ModuleUnit unit)
    Return base file name for the passed module unit.
    java.lang.String file​(Project.ModuleUnit unit, java.lang.String extension)
    Return file name for the passed module unit.
    java.nio.file.Path modularJar​(Project.ModuleUnit unit)
    Return modular JAR file path for the passed module unit.
    java.nio.file.Path sourcesJar​(Project.ModuleUnit unit)
    Return sources JAR file path for the passed module unit.

    Methods inherited from class java.lang.Object

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

    • realm

      public final Project.Realm realm
      Associated realm.
    • directory

      public final java.nio.file.Path directory
      Base target directory of the realm.
    • modules

      public final java.nio.file.Path modules
      Directory of modular JAR files.
  • Method Details

    • file

      public java.lang.String file​(Project.ModuleUnit unit)
      Return base file name for the passed module unit.
    • file

      public java.lang.String file​(Project.ModuleUnit unit, java.lang.String extension)
      Return file name for the passed module unit.
    • modularJar

      public java.nio.file.Path modularJar​(Project.ModuleUnit unit)
      Return modular JAR file path for the passed module unit.
    • sourcesJar

      public java.nio.file.Path sourcesJar​(Project.ModuleUnit unit)
      Return sources JAR file path for the passed module unit.