Class FileWatchEndpointBuilderFactory.FileWatchHeaderNameBuilder

  • Enclosing interface:
    FileWatchEndpointBuilderFactory

    public static class FileWatchEndpointBuilderFactory.FileWatchHeaderNameBuilder
    extends Object
    The builder of headers' name for the File Watch component.
    • Constructor Detail

      • FileWatchHeaderNameBuilder

        public FileWatchHeaderNameBuilder()
    • Method Detail

      • fileEventType

        public String fileEventType()
        Type of event. Possible values: CREATE, DELETE, MODIFY. The option is a: String type. Group: consumer
        Returns:
        the name of the header FileEventType.
      • fileNameOnly

        public String fileNameOnly()
        Only the file name (the name with no leading paths). The option is a: String type. Group: consumer
        Returns:
        the name of the header FileNameOnly.
      • fileAbsolute

        public String fileAbsolute()
        A boolean option specifying whether the consumed file denotes an absolute path or not. Should normally be false for relative paths. Absolute paths should normally not be used but we added to the move option to allow moving files to absolute paths. But can be used elsewhere as well. The option is a: Boolean type. Group: consumer
        Returns:
        the name of the header FileAbsolute.
      • fileAbsolutePath

        public String fileAbsolutePath()
        The absolute path to the file. For relative files this path holds the relative path instead. The option is a: String type. Group: consumer
        Returns:
        the name of the header FileAbsolutePath.
      • filePath

        public String filePath()
        The file path. For relative files this is the starting directory the relative filename. For absolute files this is the absolute path. The option is a: String type. Group: consumer
        Returns:
        the name of the header FilePath.
      • fileName

        public String fileName()
        Name of the consumed file as a relative file path with offset from the starting directory configured on the endpoint. The option is a: String type. Group: consumer
        Returns:
        the name of the header FileName.
      • fileRelativePath

        public String fileRelativePath()
        The relative path. The option is a: String type. Group: consumer
        Returns:
        the name of the header FileRelativePath.
      • fileNameConsumed

        public String fileNameConsumed()
        The name of the file that has been consumed. The option is a: String type. Group: consumer
        Returns:
        the name of the header FileNameConsumed.
      • fileParent

        public String fileParent()
        The parent path. The option is a: String type. Group: consumer
        Returns:
        the name of the header FileParent.
      • fileLastModified

        public String fileLastModified()
        A Long value containing the last modified timestamp of the file. The option is a: long type. Group: consumer
        Returns:
        the name of the header FileLastModified.