/eclipse-plugin/plugins/com.google.test.metric.eclipse.core/src/main/java/com/google/test/metric/eclipse/core/TestabilityLaunchListener.java

http://testability-explorer.googlecode.com/ · Java · 39 lines · 10 code · 5 blank · 24 comment · 0 complexity · e07847966d24bfb0f50e52604b194a2a MD5 · raw file

  1. /*
  2. * Copyright 2009 Google Inc.
  3. *
  4. * Licensed under the Apache License, Version 2.0 (the "License"); you may not
  5. * use this file except in compliance with the License. You may obtain a copy of
  6. * the License at
  7. *
  8. * http://www.apache.org/licenses/LICENSE-2.0
  9. *
  10. * Unless required by applicable law or agreed to in writing, software
  11. * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
  12. * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
  13. * License for the specific language governing permissions and limitations under
  14. * the License.
  15. */
  16. package com.google.test.metric.eclipse.core;
  17. import com.google.test.metric.report.ReportOptions;
  18. import com.google.test.metric.report.issues.ClassIssues;
  19. import org.eclipse.jdt.core.IJavaProject;
  20. import java.io.File;
  21. import java.util.List;
  22. /**
  23. * Implementations of this interface can be notified upon completion of a
  24. * testability configuration run.
  25. * <p>
  26. * Use the com.google.test.metric.eclipse.core.testabilityLaunchListener
  27. * extension point to register your listener implementation.
  28. *
  29. * @author klundberg@google.com (Karin Lundberg)
  30. */
  31. public interface TestabilityLaunchListener {
  32. void onLaunchCompleted(ReportOptions reportOptions, IJavaProject javaProject,
  33. List<ClassIssues> classIssues, File reportDirectory, boolean runningInCompilationMode);
  34. }