Class Processor

    • Field Detail

      • log

        public static aQute.service.reporter.Reporter log
    • Constructor Detail

      • Processor

        public Processor()
      • Processor

        public Processor​(java.util.Properties props)
      • Processor

        public Processor​(Processor parent)
      • Processor

        public Processor​(java.util.Properties props,
                         boolean wrap)
      • Processor

        public Processor​(Processor parent,
                         java.util.Properties props,
                         boolean wrap)
    • Method Detail

      • setParent

        public void setParent​(Processor parent)
      • getInfo

        public void getInfo​(aQute.service.reporter.Reporter processor,
                            java.lang.String prefix)
      • getInfo

        public void getInfo​(aQute.service.reporter.Reporter processor)
      • warning

        public aQute.service.reporter.Reporter.SetLocation warning​(java.lang.String string,
                                                                   java.lang.Object... args)
        Specified by:
        warning in interface aQute.service.reporter.Reporter
      • error

        public aQute.service.reporter.Reporter.SetLocation error​(java.lang.String string,
                                                                 java.lang.Object... args)
        Specified by:
        error in interface aQute.service.reporter.Reporter
      • progress

        @Deprecated
        public void progress​(float progress,
                             java.lang.String format,
                             java.lang.Object... args)
        Deprecated.
        Use SLF4J Logger.info() instead.
        Specified by:
        progress in interface aQute.service.reporter.Reporter
      • progress

        public void progress​(java.lang.String format,
                             java.lang.Object... args)
      • error

        public aQute.service.reporter.Reporter.SetLocation error​(java.lang.String format,
                                                                 java.lang.Throwable t,
                                                                 java.lang.Object... args)
      • exception

        public aQute.service.reporter.Reporter.SetLocation exception​(java.lang.Throwable t,
                                                                     java.lang.String format,
                                                                     java.lang.Object... args)
        Specified by:
        exception in interface aQute.service.reporter.Reporter
      • printExceptionSummary

        public int printExceptionSummary​(java.lang.Throwable e,
                                         java.io.PrintStream out)
      • printStackTrace

        public void printStackTrace​(java.lang.Throwable e,
                                    int count,
                                    java.io.PrintStream out)
      • signal

        public void signal()
      • getWarnings

        public java.util.List<java.lang.String> getWarnings()
        Specified by:
        getWarnings in interface aQute.service.reporter.Report
      • getErrors

        public java.util.List<java.lang.String> getErrors()
        Specified by:
        getErrors in interface aQute.service.reporter.Report
      • parseHeader

        public static Parameters parseHeader​(java.lang.String value,
                                             Processor logger)
        Standard OSGi header parser.
        Parameters:
        value -
      • parseHeader

        public Parameters parseHeader​(java.lang.String value)
      • addClose

        public void addClose​(java.lang.AutoCloseable closeable)
      • removeClose

        public void removeClose​(java.lang.AutoCloseable closeable)
      • isPedantic

        public boolean isPedantic()
        Specified by:
        isPedantic in interface aQute.service.reporter.Reporter
      • setPedantic

        public void setPedantic​(boolean pedantic)
      • use

        public void use​(Processor reporter)
      • getFile

        public static java.io.File getFile​(java.io.File base,
                                           java.lang.String file)
      • getFile

        public java.io.File getFile​(java.lang.String file)
      • getPlugins

        public <T> java.util.List<T> getPlugins​(java.lang.Class<T> clazz)
        Return a list of plugins that implement the given class.
        Specified by:
        getPlugins in interface Registry
        Parameters:
        clazz - Each returned plugin implements this class/interface
        Returns:
        A list of plugins
      • getPlugin

        public <T> T getPlugin​(java.lang.Class<T> clazz)
        Returns the first plugin it can find of the given type.
        Specified by:
        getPlugin in interface Registry
        Type Parameters:
        T -
        Parameters:
        clazz -
      • getPlugins

        public PluginsContainer getPlugins()
        Return the PluginsContainer. Plugins are defined with the -plugin command. They are class names, optionally associated with attributes. Plugins can implement the Plugin interface to see these attributes. Any object can be a plugin.
      • addExtensions

        protected void addExtensions​(PluginsContainer pluginsContainer)
        Is called after the PluginsContainer is initialized.
        Parameters:
        pluginsContainer -
      • setTypeSpecificPlugins

        protected void setTypeSpecificPlugins​(PluginsContainer pluginsContainer)
      • customize

        protected <T> T customize​(T plugin,
                                  Attrs map,
                                  PluginsContainer pluginsContainer)
        Set the initial parameters of a plugin
        Parameters:
        plugin -
        map -
      • isFailOk

        public boolean isFailOk()
        Indicates that this run should ignore errors and succeed anyway
        Overrides:
        isFailOk in class Domain
        Returns:
        true if this processor should return errors
      • getBase

        public java.io.File getBase()
      • getBaseURI

        public java.net.URI getBaseURI()
      • setBase

        public void setBase​(java.io.File base)
      • clear

        public void clear()
      • getLogger

        public org.slf4j.Logger getLogger()
      • trace

        public void trace​(java.lang.String msg,
                          java.lang.Object... parms)
        Used to provide verbose commands
        Specified by:
        trace in interface aQute.service.reporter.Reporter
      • newList

        public <T> java.util.List<T> newList()
      • newSet

        public <T> java.util.Set<T> newSet()
      • newMap

        public static <K,​V> java.util.Map<K,​V> newMap()
      • newHashMap

        public static <K,​V> java.util.Map<K,​V> newHashMap()
      • newList

        public <T> java.util.List<T> newList​(java.util.Collection<T> t)
      • newSet

        public <T> java.util.Set<T> newSet​(java.util.Collection<T> t)
      • newMap

        public <K,​V> java.util.Map<K,​V> newMap​(java.util.Map<K,​V> t)
      • close

        public void close()
                   throws java.io.IOException
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable
        Throws:
        java.io.IOException
      • _basedir

        public java.lang.String _basedir​(java.lang.String[] args)
      • _propertiesname

        public java.lang.String _propertiesname​(java.lang.String[] args)
      • _propertiesdir

        public java.lang.String _propertiesdir​(java.lang.String[] args)
      • _uri

        public java.lang.String _uri​(java.lang.String[] args)
                              throws java.lang.Exception
        Throws:
        java.lang.Exception
      • _fileuri

        public java.lang.String _fileuri​(java.lang.String[] args)
                                  throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getProperties

        public java.util.Properties getProperties()
        Property handling ...
      • getProperty

        public java.lang.String getProperty​(java.lang.String key)
      • getUnexpandedProperty

        public java.lang.String getUnexpandedProperty​(java.lang.String key)
      • mergeProperties

        public void mergeProperties​(java.io.File file,
                                    boolean overwrite)
      • mergeProperties

        public void mergeProperties​(java.util.Properties properties,
                                    boolean overwrite)
      • setProperties

        public void setProperties​(java.util.Properties properties)
      • setProperties

        public void setProperties​(java.io.File base,
                                  java.util.Properties properties)
      • addProperties

        public void addProperties​(java.io.File file)
                           throws java.lang.Exception
        Throws:
        java.lang.Exception
      • addProperties

        public void addProperties​(java.util.Map<?,​?> properties)
      • addIncluded

        public void addIncluded​(java.io.File file)
      • doIncludeFile

        public void doIncludeFile​(java.io.File file,
                                  boolean overwrite,
                                  java.util.Properties target)
                           throws java.lang.Exception
        Parameters:
        file -
        overwrite -
        Throws:
        java.io.FileNotFoundException
        java.io.IOException
        java.lang.Exception
      • doIncludeFile

        public void doIncludeFile​(java.io.File file,
                                  boolean overwrite,
                                  java.util.Properties target,
                                  java.lang.String extensionName)
                           throws java.lang.Exception
        Parameters:
        file -
        overwrite -
        extensionName -
        Throws:
        java.io.FileNotFoundException
        java.io.IOException
        java.lang.Exception
      • unsetProperty

        public void unsetProperty​(java.lang.String string)
      • refresh

        public boolean refresh()
      • forceRefresh

        public void forceRefresh()
      • propertiesChanged

        public void propertiesChanged()
      • setProperties

        public void setProperties​(java.io.File propertiesFile)
        Set the properties by file. Setting the properties this way will also set the base for this analyzer. After reading the properties, this will call setProperties(Properties) which will handle the includes.
        Parameters:
        propertiesFile -
      • setProperties

        public void setProperties​(java.io.File propertiesFile,
                                  java.io.File base)
      • begin

        protected void begin()
      • isTrue

        public static boolean isTrue​(java.lang.String value)
      • getUnprocessedProperty

        public java.lang.String getUnprocessedProperty​(java.lang.String key,
                                                       java.lang.String deflt)
        Get a property without preprocessing it with a proper default
        Parameters:
        key -
        deflt -
      • getProperty

        public java.lang.String getProperty​(java.lang.String key,
                                            java.lang.String deflt)
        Get a property with preprocessing it with a proper default
        Parameters:
        key -
        deflt -
      • getProperty

        public java.lang.String getProperty​(java.lang.String key,
                                            java.lang.String deflt,
                                            java.lang.String separator)
      • loadProperties

        public java.util.Properties loadProperties​(java.io.File file)
                                            throws java.io.IOException
        Helper to load a properties file from disk.
        Parameters:
        file -
        Throws:
        java.io.IOException
      • replaceAll

        public static java.util.Properties replaceAll​(java.util.Properties p,
                                                      java.lang.String pattern,
                                                      java.lang.String replacement)
        Replace a string in all the values of the map. This can be used to preassign variables that change. I.e. the base directory ${.} for a loaded properties
      • printClauses

        public static java.lang.String printClauses​(java.util.Map<?,​? extends java.util.Map<?,​?>> exports)
                                             throws java.io.IOException
        Print a standard Map based OSGi header.
        Parameters:
        exports - map { name => Map { attribute|directive => value } }
        Returns:
        the clauses
        Throws:
        java.io.IOException
      • printClauses

        public static java.lang.String printClauses​(java.util.Map<?,​? extends java.util.Map<?,​?>> exports,
                                                    boolean checkMultipleVersions)
                                             throws java.io.IOException
        Throws:
        java.io.IOException
      • printClause

        public static void printClause​(java.util.Map<?,​?> map,
                                       java.lang.StringBuilder sb)
                                throws java.io.IOException
        Throws:
        java.io.IOException
      • quote

        public static boolean quote​(java.lang.Appendable sb,
                                    java.lang.String value)
                             throws java.io.IOException
        Parameters:
        sb -
        value -
        Throws:
        java.io.IOException
      • getReplacer

        public Macro getReplacer()
      • getMacroDomains

        protected java.lang.Object[] getMacroDomains()
        This should be overridden by subclasses to add extra macro command domains on the search list.
      • getFlattenedProperties

        public java.util.Properties getFlattenedProperties()
        Return the properties but expand all macros. This always returns a new Properties object that can be used in any way.
      • getFlattenedProperties

        public java.util.Properties getFlattenedProperties​(boolean ignoreInstructions)
        Return the properties but expand all macros. This always returns a new Properties object that can be used in any way.
      • getPropertyKeys

        public java.util.Set<java.lang.String> getPropertyKeys​(boolean inherit)
        Return all inherited property keys. The keys are sorted for consistent ordering.
      • updateModified

        public boolean updateModified​(long time,
                                      java.lang.String reason)
      • lastModified

        public long lastModified()
      • setProperty

        public void setProperty​(java.lang.String key,
                                java.lang.String value)
        Add or overwrite a new property.
        Parameters:
        key -
        value -
      • getManifestAsProperties

        public static java.util.Properties getManifestAsProperties​(java.io.InputStream in)
                                                            throws java.io.IOException
        Read a manifest but return a properties object.
        Parameters:
        in -
        Throws:
        java.io.IOException
      • getPropertiesFile

        public java.io.File getPropertiesFile()
      • setFileMustExist

        public void setFileMustExist​(boolean mustexist)
      • read

        public static java.lang.String read​(java.io.InputStream in)
                                     throws java.lang.Exception
        Throws:
        java.lang.Exception
      • join

        public static java.lang.String join​(java.util.Collection<?> list)
        Join a list.
      • join

        public static java.lang.String join​(java.util.Collection<?> list,
                                            java.lang.String delimeter)
      • join

        public static java.lang.String join​(java.util.Collection<?>... lists)
      • join

        public static java.lang.String join​(java.lang.String delimeter,
                                            java.util.Collection<?>... lists)
      • join

        public static java.lang.String join​(java.lang.Object[] list,
                                            java.lang.String delimeter)
      • join

        public static <T> java.lang.String join​(T[] list)
      • split

        public static void split​(java.lang.String s,
                                 java.util.Collection<java.lang.String> collection)
      • split

        public static java.util.Collection<java.lang.String> split​(java.lang.String s)
      • split

        public static java.util.Collection<java.lang.String> split​(java.lang.String s,
                                                                   java.lang.String splitter)
      • merge

        public static java.lang.String merge​(java.lang.String... strings)
      • isExceptions

        public boolean isExceptions()
      • setExceptions

        public void setExceptions​(boolean exceptions)
      • normalize

        public java.lang.String normalize​(java.lang.String file)
        Make the file short if it is inside our base directory, otherwise long.
        Parameters:
        file -
      • normalize

        public java.lang.String normalize​(java.io.File file)
      • removeDuplicateMarker

        public static java.lang.String removeDuplicateMarker​(java.lang.String key)
      • isDuplicate

        public static boolean isDuplicate​(java.lang.String key)
      • setTrace

        public void setTrace​(boolean x)
      • exists

        public boolean exists()
      • isOk

        public boolean isOk()
        Specified by:
        isOk in interface aQute.service.reporter.Report
      • check

        public boolean check​(java.lang.String... pattern)
                      throws java.io.IOException
        Throws:
        java.io.IOException
      • report

        protected void report​(java.lang.Appendable out)
                       throws java.io.IOException
        Throws:
        java.io.IOException
      • isPerfect

        public boolean isPerfect()
      • setForceLocal

        public void setForceLocal​(java.util.Collection<java.lang.String> local)
      • isMissingPlugin

        public boolean isMissingPlugin​(java.lang.String name)
        Answer if the name is a missing plugin's command name. If a bnd file contains the command name of a plugin, and that plugin is not available, then an error is reported during manifest calculation. This allows the plugin to fail to load when it is not needed. We first get the plugins to ensure it is properly initialized.
        Parameters:
        name -
      • appendPath

        public static java.lang.String appendPath​(java.lang.String... parts)
        Append two strings to for a path in a ZIP or JAR file. It is guaranteed to return a string that does not start, nor ends with a '/', while it is properly separated with slashes. Double slashes are properly removed.
         "/" + "abc/def/" becomes "abc/def"
         @param prefix @param suffix @return
      • doAttrbutes

        public static Attrs doAttrbutes​(java.lang.Object[] attrs,
                                        Clazz clazz,
                                        Macro macro)
        Parse the a=b strings and return a map of them.
        Parameters:
        attrs -
        clazz -
      • formatArrays

        public static java.lang.String formatArrays​(java.lang.String string,
                                                    java.lang.Object... parms)
        This method is the same as String.format but it makes sure that any arrays are transformed to strings.
        Parameters:
        string -
        parms -
      • makePrintable

        public static java.lang.Object makePrintable​(java.lang.Object object)
        Check if the object is an array and turn it into a string if it is, otherwise unchanged.
        Parameters:
        object - the object to make printable
        Returns:
        a string if it was an array or the original object
      • append

        public static java.lang.String append​(java.lang.String... strings)
      • getClass

        public java.lang.Class<?> getClass​(java.lang.String type,
                                           java.io.File jar)
                                    throws java.lang.Exception
        Throws:
        java.lang.Exception
      • isTrace

        public boolean isTrace()
      • getDuration

        public static long getDuration​(java.lang.String tm,
                                       long dflt)
      • _random

        public java.lang.String _random​(java.lang.String[] args)
        Generate a random string, which is guaranteed to be a valid Java identifier (first character is an ASCII letter, subsequent characters are ASCII letters or numbers). Takes an optional parameter for the length of string to generate; default is 8 characters.
      • _native_capability

        public java.lang.String _native_capability​(java.lang.String... args)
                                            throws java.lang.Exception

        Generates a Capability string, in the format specified by the OSGi Provide-Capability header, representing the current native platform according to OSGi RFC 188. For example on Windows7 running on an x86_64 processor it should generate the following:

         osgi.native;osgi.native.osname:List<String>="Windows7,Windows
         7,Win32";osgi.native.osversion:Version=6.1.0;osgi.native.processor:List&
         lt;String>="x86-64,amd64,em64t,x86_64"
         
        Parameters:
        args - The array of properties. For example: the macro invocation of "${native_capability;osversion=3.2.4;osname=Linux}" results in an args array of [native_capability, osversion=3.2.4, osname=Linux]
        Throws:
        java.lang.Exception
      • beginHandleErrors

        protected Processor beginHandleErrors​(java.lang.String message)
        Set the current command thread. This must be balanced with the endHandleErrors(Processor) method. The method returns the previous command owner or null. The command owner will receive all warnings and error reports.
      • endHandleErrors

        protected void endHandleErrors​(Processor previous)
        End a command. Will restore the previous command owner.
        Parameters:
        previous -
      • getExecutor

        public static java.util.concurrent.Executor getExecutor()
      • getScheduledExecutor

        public static java.util.concurrent.ScheduledExecutorService getScheduledExecutor()
      • getPromiseFactory

        public static org.osgi.util.promise.PromiseFactory getPromiseFactory()
      • addBasicPlugin

        public void addBasicPlugin​(java.lang.Object plugin)
        These plugins are added to the total list of plugins. The separation is necessary because the list of plugins is refreshed now and then so we need to be able to add them at any moment in time.
        Parameters:
        plugin -
      • removeBasicPlugin

        public void removeBasicPlugin​(java.lang.Object plugin)
      • getIncluded

        public java.util.List<java.io.File> getIncluded()
      • get

        public java.lang.String get​(java.lang.String key)
        Overrides for the Domain class
        Specified by:
        get in class Domain
      • get

        public java.lang.String get​(java.lang.String key,
                                    java.lang.String deflt)
        Overrides:
        get in class Domain
      • set

        public void set​(java.lang.String key,
                        java.lang.String value)
        Specified by:
        set in class Domain
      • iterator

        public java.util.Iterator<java.lang.String> iterator()
        Specified by:
        iterator in interface java.lang.Iterable<java.lang.String>
      • spliterator

        public java.util.Spliterator<java.lang.String> spliterator()
        Specified by:
        spliterator in interface java.lang.Iterable<java.lang.String>
      • keySet

        public java.util.Set<java.lang.String> keySet()
      • toString

        public java.lang.String toString()
        Printout of the status of this processor for toString()
        Overrides:
        toString in class java.lang.Object
      • replaceExtension

        public java.lang.String replaceExtension​(java.lang.String s,
                                                 java.lang.String extension,
                                                 java.lang.String newExtension)
        Utiltity to replace an extension
        Parameters:
        s -
        extension -
        newExtension -
      • setLocation

        public aQute.service.reporter.Reporter.SetLocation setLocation​(java.lang.String header,
                                                                       java.lang.String clause,
                                                                       aQute.service.reporter.Reporter.SetLocation setLocation)
      • getLocation

        public aQute.service.reporter.Report.Location getLocation​(java.lang.String msg)
        Specified by:
        getLocation in interface aQute.service.reporter.Report
      • getHeader

        public Processor.FileLine getHeader​(java.lang.String header)
                                     throws java.lang.Exception
        Get a header relative to this processor, taking its parents and includes into account.
        Parameters:
        header -
        Throws:
        java.io.IOException
        java.lang.Exception
      • toFullHeaderPattern

        public static java.util.regex.Pattern toFullHeaderPattern​(java.lang.String header)
      • getHeader

        public Processor.FileLine getHeader​(java.util.regex.Pattern header)
                                     throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getHeader

        public Processor.FileLine getHeader​(java.lang.String header,
                                            java.lang.String clause)
                                     throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getHeader

        public Processor.FileLine getHeader​(java.util.regex.Pattern header,
                                            java.util.regex.Pattern clause)
                                     throws java.lang.Exception
        Throws:
        java.lang.Exception
      • findHeader

        public static Processor.FileLine findHeader​(java.io.File f,
                                                    java.lang.String header)
                                             throws java.io.IOException
        Throws:
        java.io.IOException
      • findHeader

        public static Processor.FileLine findHeader​(java.io.File f,
                                                    java.util.regex.Pattern header)
                                             throws java.io.IOException
        Throws:
        java.io.IOException
      • findHeader

        public static Processor.FileLine findHeader​(java.io.File f,
                                                    java.util.regex.Pattern header,
                                                    java.util.regex.Pattern clause)
                                             throws java.io.IOException
        Throws:
        java.io.IOException
      • getLine

        public static int getLine​(java.lang.String s,
                                  int index)
      • since

        public boolean since​(Version introduced)
      • report

        public void report​(java.util.Map<java.lang.String,​java.lang.Object> table)
                    throws java.lang.Exception
        Report the details of this processor. Should in general be overridden
        Parameters:
        table -
        Throws:
        java.lang.Exception
      • is

        public boolean is​(java.lang.String propertyName)
        Simplified way to check booleans
      • mergeProperties

        public java.lang.String mergeProperties​(java.lang.String key)
        Return merged properties. The parameters provide a list of property names which are concatenated in the output, separated by a comma. Not only are those property names looked for, also all property names that have that constant as a prefix, a '.', and then whatever (.*). The result is either null if nothing was found or a list of properties
      • mergeLocalProperties

        public java.lang.String mergeLocalProperties​(java.lang.String key)
      • mergeProperties

        public java.lang.String mergeProperties​(java.lang.String key,
                                                java.lang.String separator)
      • getMergedParameters

        public Parameters getMergedParameters​(java.lang.String key)
        Get a Parameters from merged properties
      • concat

        public <T> T[] concat​(java.lang.Class<T> type,
                              T[] prefix,
                              T suffix)
        Add an element to an array, creating a new one if necessary
      • getJarFromName

        public Jar getJarFromName​(java.lang.String name,
                                  java.lang.String from)
        Try to get a Jar from a file name/path or a url, or in last resort from the classpath name part of their files.
        Parameters:
        name - URL or filename relative to the base
        from - Message identifying the caller for errors
        Returns:
        null or a Jar with the contents for the name
      • _thisfile

        public java.lang.String _thisfile​(java.lang.String[] args)
        Return the name of the properties file
      • getSettings

        public void getSettings​(Processor p)
        Copy the settings of another processor
      • _frange

        public java.lang.String _frange​(java.lang.String[] args)
        Return a range expression for a filter from a version. By default this is based on consumer compatibility. You can specify a third argument (true) to get provider compatibility.
          ${frange;1.2.3} ->
         (&(version>=1.2.3)(!(version>=2.0.0)) ${frange;1.2.3, true} ->
         (&(version>=1.2.3)(!(version>=1.3.0)) ${frange;[1.2.3,2.3.4)} ->
         (&(version>=1.2.3)(!(version>=2.3.4))
         
      • _findfile

        public java.lang.String _findfile​(java.lang.String[] args)
      • getInstructions

        public <T> T getInstructions​(java.lang.Class<T> type)
        Return an instance of an interface where each method is mapped to an instruction available from this Processor. See SyntaxAnnotation for how to annotate this interface.
      • isInteractive

        public boolean isInteractive()
        Return if this is an interactive environment like Eclipse or runs in batch mode. If interactive, things can get refreshed.
      • system

        public java.lang.String system​(boolean allowFail,
                                       java.lang.String command,
                                       java.lang.String input)
                                throws java.io.IOException,
                                       java.lang.InterruptedException
        Throws:
        java.io.IOException
        java.lang.InterruptedException
      • system

        public java.lang.String system​(java.lang.String command,
                                       java.lang.String input)
                                throws java.io.IOException,
                                       java.lang.InterruptedException
        Throws:
        java.io.IOException
        java.lang.InterruptedException
      • getJavaExecutable

        public java.lang.String getJavaExecutable​(java.lang.String java)
      • decorated

        public Parameters decorated​(java.lang.String key,
                                    boolean literalsIncluded)
        Return a parameters that contains the merged properties of the given key and that is decorated by the merged properties of the key + '+', optionally including literals, and decorated by the merged properties of the key + '++', always including literals.
        Parameters:
        key - The key of the property
      • decorated

        public Parameters decorated​(java.lang.String key)
      • getProfile

        public java.lang.String getProfile()
      • getChecksum

        public java.lang.String getChecksum()
        A checksum based on the values of the properties
        Returns:
        A checksum based on the values of the properties
      • getSelfAndAncestors

        public java.util.List<java.io.File> getSelfAndAncestors()
        Return a list of all files that provide the properties for this Processor. This includes its own properties file, all included files, and the same for its ancestor Processor.

        The order of the list is parent?.getSelfAndAncestors(), includes, properties file

        Returns:
        a list of files that this processor depends on
      • setPropertiesFile

        public void setPropertiesFile​(java.io.File source)
        Set the properties file but do **not** load the properties.
        Parameters:
        source - the properties file