org.troublescope.resolution
Class ResolutionRegistry

java.lang.Object
  |
  +--org.troublescope.resolution.ResolutionRegistry

public class ResolutionRegistry
extends java.lang.Object

A registry used for finding the appropriate resolution.

Author:
Calvin Yu

Constructor Summary
ResolutionRegistry()
           
 
Method Summary
 void addResolution(RegistryEntry entry)
          Add a registry entry.
 ProblemResolution findResolution(java.lang.String resolutionId)
          Find the resolutions for the given problem.
 java.util.List getResolutions()
          Returns the resolution list.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResolutionRegistry

public ResolutionRegistry()
Method Detail

findResolution

public ProblemResolution findResolution(java.lang.String resolutionId)
Find the resolutions for the given problem.
Parameters:
resolutionId - The id of the resolution result.

addResolution

public void addResolution(RegistryEntry entry)
Add a registry entry.

getResolutions

public java.util.List getResolutions()
Returns the resolution list.


Copyright © 2002-2002 TroubleScope. All Rights Reserved.