Interface IFileSystemArtifact

    • Method Detail

      • getPath

        Path getPath()
              throws VilException
        Returns the path artifact representing the path to this file system artifact. The absolute and simple name can be obtained from the path. Note that IArtifact.getName() will return the simple name of this artifact.
        Returns:
        the path
        Throws:
        VilException - in case of serious problems
      • move

        Set<IFileSystemArtifact> move​(IFileSystemArtifact target)
                               throws VilException
        Move this artifact.
        Parameters:
        target - the target artifact. In case of a file, the target is supposed to be overridden. In case of a directory, this artifact shall after this operation be part of the directory.
        Returns:
        this (for chained operations)
        Throws:
        VilException - in case of serious problems
      • copy

        Set<IFileSystemArtifact> copy​(IFileSystemArtifact target)
                               throws VilException
        Copy this artifact.
        Parameters:
        target - the target artifact. In case of a file, the target is supposed to be overridden by a copy of this artifact. In case of a directory, a copy of this artifact shall after this operation be part of the directory.
        Returns:
        this (for chained operations)
        Throws:
        VilException - in case of serious problems
      • isTemporary

        boolean isTemporary()
        Returns whether this artifact is (considered to be) a temporary artifact.
        Returns:
        true if it is temporary, false else