Package com.e1c.langtool.stat
Interface ComputerEngine
- All Known Implementing Classes:
ComputerEngineImpl
public interface ComputerEngine
Interface for recalculation of translation statistics.
-
Method Summary
Modifier and TypeMethodDescription@NonNull org.eclipse.core.runtime.IStatuscompute(@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.IStatuscomputeGroup(@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.IStatuscomputeParents(@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.IStatuscomputeResource(@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.IStatuscomputeTotalValue(@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 projectmonitor- 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 projectpath- the relative path of this resource with respect to its projectmonitor- 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 projectpath- the relative path of this parent with respect to its projectmonitor- 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 projectgroup- the path of group, its may be the relative path of this group with respect to its projectmonitor- 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 projectmonitor- the monitor- Returns:
- the status
-