Class SourcePathTemplate

  • All Implemented Interfaces:
    TemplateView, Versioned, java.util.function.Supplier<java.lang.String>

    public final class SourcePathTemplate
    extends java.lang.Object
    implements TemplateView
    • Constructor Summary

      Constructors 
      Constructor Description
      SourcePathTemplate​(java.nio.file.Path sourcePath)  
    • Method Summary

      Modifier and Type Method Description
      java.lang.String get()  
      long getVersion()
      Get the version for this element.
      • Methods inherited from class java.lang.Object

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

      • SourcePathTemplate

        public SourcePathTemplate​(java.nio.file.Path sourcePath)
    • Method Detail

      • getVersion

        public long getVersion()
        Description copied from interface: Versioned
        Get the version for this element. An element is considered valid only for other elements of the same version.
        Specified by:
        getVersion in interface Versioned
      • get

        public java.lang.String get()
        Specified by:
        get in interface java.util.function.Supplier<java.lang.String>