ix.ideel
Class IssueOption

java.lang.Object
  |
  +--ix.ideel.IssueOption
All Implemented Interfaces:
IssueHandler, StatusValues
Direct Known Subclasses:
IdeelController.AutomaticOption, IdeelController.BindOption, IdeelController.ExpandOption, IssueOption.ManualOption, IssueOption.NoActionOption

public class IssueOption
extends java.lang.Object
implements IssueHandler, StatusValues

One of the ways an issue might be handled.


Inner Class Summary
(package private) static class IssueOption.ManualOption
          Indicates that the issue has been handled by the user.
(package private) static class IssueOption.NoActionOption
          Handles an issue by doing nothing.
(package private) static class IssueOption.NotApplicableOption
          Used to indicate the the issue does not apply in the current situation.
 
Field Summary
(package private)  java.lang.String shortDescription
          Briefly describes how this option would handle an issue.
 
Fields inherited from interface ix.icore.process.StatusValues
PRIORITY_HIGH, PRIORITY_LOW, PRIORITY_MEDIUM, PRIORITY_NONE, PRODUCT_BLANK, PRODUCT_COMPLETE, PRODUCT_DRAFT, STATUS_BLANK, STATUS_COMPLETE, STATUS_EXECUTING, STATUS_IMPOSSIBLE, STATUS_NA, STATUS_POSSIBLE
 
Constructor Summary
(package private) IssueOption()
          Constructor for use by subclasses.
 
Method Summary
 java.lang.String getActionDescription()
          Returns a brief description of how this option would handle an issue.
 void handleIssue(Issue i)
          Handle the issue in the manner appropriate to this issue-option.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

shortDescription

java.lang.String shortDescription
Briefly describes how this option would handle an issue.
Constructor Detail

IssueOption

IssueOption()
Constructor for use by subclasses.
Method Detail

handleIssue

public void handleIssue(Issue i)
Handle the issue in the manner appropriate to this issue-option. This method merely changes the issue's status to COMPLETE and is overridden in subclasses that handle the issue in more interesting ways.
Specified by:
handleIssue in interface IssueHandler

getActionDescription

public java.lang.String getActionDescription()
Returns a brief description of how this option would handle an issue.
Specified by:
getActionDescription in interface IssueHandler