Eclipse JDT
Release 3.0

org.eclipse.ltk.core.refactoring.participants
Interface IConditionChecker

All Known Implementing Classes:
ValidateEditChecker

public interface IConditionChecker

A condition checker can be used to share condition checks across the main processor and all its associated participants.

This interface should be implemented by clients wishing to provide a special refactoring processor with special shared condition checks.

Since:
3.0
See Also:
CheckConditionsContext

Method Summary
 RefactoringStatus check(org.eclipse.core.runtime.IProgressMonitor monitor)
          Performs the actual condition checking.
 

Method Detail

check

public RefactoringStatus check(org.eclipse.core.runtime.IProgressMonitor monitor)
                        throws org.eclipse.core.runtime.CoreException
Performs the actual condition checking.

Parameters:
monitor - a progress monitor to report progress
Returns:
the outcome of the condition check
Throws:
org.eclipse.core.runtime.CoreException - if an error occurred during condition checking. The check is interpreted as failed if this happens

Eclipse JDT
Release 3.0

Copyright (c) IBM Corp. and others 2000, 2004. All Rights Reserved.