Interface ISnapshotOperation

    • Method Detail

      • willCreateSnapshots

        boolean willCreateSnapshots()
        Checks if the operation will create any snapshots on create step.
        Returns:
        true if the operation will create snapshots, false otherwise
      • willRestoreSnapshots

        boolean willRestoreSnapshots()
        Checks if the operation will restore any snapshots on restore step.
        Returns:
        true if the operation will restore snapshots, false otherwise
      • isEmpty

        boolean isEmpty()
        Checks whether the operation is empty.

        An empty operation, being executed, does nothing.

        Returns:
        true if the operation is empty, false otherwise
      • getAffectedProjects

        Set<org.eclipse.core.resources.IProject> getAffectedProjects​(Set<SnapshotTask> tasks)
        Gets a set of projects, for which the operation will perform any of the given tasks.
        Parameters:
        tasks - the tasks, cannot be null, may be empty
        Returns:
        a set of affected projects, never null