g-Eclipse
Release 1.0.0

eu.geclipse.core.reporting
Interface ISolution

All Superinterfaces:
ISolver
All Known Implementing Classes:
RemountSolution

public interface ISolution
extends ISolver

Definition of a solution that may be associated to one or more problems. A solution may either be active or passive. If a solutions is active its ISolver.solve()-method is assumed to provide an action that solves the associated problem(s). In general a solution has to contain a text that gives a brief description of the solution that is presented to the user.


Method Summary
 java.lang.String getDescription()
          Get a brief text that gives a description of this solution.
 java.lang.String getID()
          Get this solution's ID.
 boolean isActive()
          Determine if this solution is active.
 
Methods inherited from interface eu.geclipse.core.reporting.ISolver
solve
 

Method Detail

getID

java.lang.String getID()
Get this solution's ID.

Returns:
The solution's unique identifier or null if this solution was created programmatically.

isActive

boolean isActive()
Determine if this solution is active. An active solution has to provide a reasonable implementation of the ISolver.solve()-method in order to solve the associated problem(s). Non-active solutions are called passive solutions and only contain a descriptive text that may give the user hints how to solve the associated problem.

Returns:
True if this solution is active, false for passive solutions.

getDescription

java.lang.String getDescription()
Get a brief text that gives a description of this solution.

Returns:
This solutions description.

g-Eclipse
Release 1.0.0