Class FileCreationListEntry


  • public class FileCreationListEntry
    extends Object
    Is created by FileCreationListHandler. Every file that is generated by a Velocity template is a line in the file-creation-list. A future file is a single entry in the file-creation-list.
    Author:
    Hans-Peter Schaal
    • Constructor Detail

      • FileCreationListEntry

        public FileCreationListEntry​(FileCreationListEntry.EntryType type,
                                     int lineNumber)
        Parameters:
        type - Use FilelistEntry.EntryType.[FILE]
        lineNumber - number in .xml for logging / error output.
    • Method Detail

      • getLineNumber

        public int getLineNumber()
        Returns:
        line number in file-creation-list.xml for logging / error output.
      • getAttribute

        public String getAttribute​(String key)
        Parameters:
        key - Attribute Key
        Returns:
        Attribute Value
      • getAttributes

        public Map<String,​String> getAttributes()
        Returns:
        Attributes as map
      • setAttribute

        public void setAttribute​(String key,
                                 String value)
        Parameters:
        key - Attribute Key
        value - Attribute Value. If null, delete the key.