Interface ComputerEngine

All Known Implementing Classes:
ComputerEngineImpl

public interface ComputerEngine
Interface for recalculation of translation statistics.
  • Method Summary

    Modifier and Type
    Method
    Description
    @NonNull org.eclipse.core.runtime.IStatus
    compute(@NonNull org.eclipse.core.resources.IProject project, @NonNull org.eclipse.core.runtime.IProgressMonitor monitor)
    Computing detailed statistics on the project, on all possible groupings and all resources.
    @NonNull org.eclipse.core.runtime.IStatus
    computeGroup(@NonNull org.eclipse.core.resources.IProject project, @NonNull org.eclipse.core.runtime.IPath group, @NonNull org.eclipse.core.runtime.IProgressMonitor monitor)
    Compute statistics for grouping.
    @NonNull org.eclipse.core.runtime.IStatus
    computeParents(@NonNull org.eclipse.core.resources.IProject project, @NonNull org.eclipse.core.runtime.IPath path, @NonNull org.eclipse.core.runtime.IProgressMonitor monitor)
    Compute statistics for the parents of the resource.
    @NonNull org.eclipse.core.runtime.IStatus
    computeResource(@NonNull org.eclipse.core.resources.IProject project, @NonNull org.eclipse.core.runtime.IPath path, @NonNull org.eclipse.core.runtime.IProgressMonitor monitor)
    Computing detailed statistics to the resource.
    @NonNull org.eclipse.core.runtime.IStatus
    computeTotalValue(@NonNull org.eclipse.core.resources.IProject project, @NonNull org.eclipse.core.runtime.IProgressMonitor monitor)
    Computing total project statistics.
  • Method Details

    • compute

      @NonNull org.eclipse.core.runtime.IStatus compute(@NonNull org.eclipse.core.resources.IProject project, @NonNull org.eclipse.core.runtime.IProgressMonitor monitor)
      Computing detailed statistics on the project, on all possible groupings and all resources.
      Parameters:
      project - the project
      monitor - the monitor
      Returns:
      the status
    • computeResource

      @NonNull org.eclipse.core.runtime.IStatus computeResource(@NonNull org.eclipse.core.resources.IProject project, @NonNull org.eclipse.core.runtime.IPath path, @NonNull org.eclipse.core.runtime.IProgressMonitor monitor)
      Computing detailed statistics to the resource.
      Parameters:
      project - the project
      path - the relative path of this resource with respect to its project
      monitor - the monitor
      Returns:
      the status
    • computeParents

      @NonNull org.eclipse.core.runtime.IStatus computeParents(@NonNull org.eclipse.core.resources.IProject project, @NonNull org.eclipse.core.runtime.IPath path, @NonNull org.eclipse.core.runtime.IProgressMonitor monitor)
      Compute statistics for the parents of the resource.
      Parameters:
      project - the project
      path - the relative path of this parent with respect to its project
      monitor - the monitor
      Returns:
      the status
    • computeGroup

      @NonNull org.eclipse.core.runtime.IStatus computeGroup(@NonNull org.eclipse.core.resources.IProject project, @NonNull org.eclipse.core.runtime.IPath group, @NonNull org.eclipse.core.runtime.IProgressMonitor monitor)
      Compute statistics for grouping.
      Parameters:
      project - the project
      group - the path of group, its may be the relative path of this group with respect to its project
      monitor - the monitor
      Returns:
      the status
    • computeTotalValue

      @NonNull org.eclipse.core.runtime.IStatus computeTotalValue(@NonNull org.eclipse.core.resources.IProject project, @NonNull org.eclipse.core.runtime.IProgressMonitor monitor)
      Computing total project statistics.
      Parameters:
      project - the project
      monitor - the monitor
      Returns:
      the status