|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.groboutils.pmti.v1.defimpl.DefaultIssueState
Describes the state of an Issue. Issue states may have additional information associated with them, and as such uses the Attribute methodology in the same way an Issue does. All implementations of IIssueState must be immutable, unless they are also instances of IEditableIssueState.
Constructor Summary | |
DefaultIssueState(java.lang.String n,
java.lang.String d,
boolean o,
IAttributeSet s)
|
Method Summary | |
IAttributeSet |
getAttributes()
Returns a list of all attributes associated with this state. |
java.lang.String |
getDescription()
Retrieves a long, human-readable, description of the state. |
java.lang.String |
getName()
Returns the short name of the state. |
boolean |
isClosed()
A broad category for the state - it means that the issue has been resolved, and the code is no longer open for changes based on this issue. |
boolean |
isOpen()
A broad category for the state - it means that the issue has not been resolved yet, and the code is still open for changes based on this issue. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DefaultIssueState(java.lang.String n, java.lang.String d, boolean o, IAttributeSet s)
Method Detail |
public java.lang.String getName()
getName
in interface IIssueState
public java.lang.String getDescription()
getDescription
in interface IIssueState
public boolean isOpen()
isOpen() must always return the opposite of isClosed(); that is, the following code:
isOpen() == !isClosed()must always evaluate to true.
isOpen
in interface IIssueState
public boolean isClosed()
isClosed() must always return the opposite of isOpen(); that is, the following code:
isOpen() == !isClosed()must always evaluate to true.
isClosed
in interface IIssueState
public IAttributeSet getAttributes()
getAttributes
in interface IIssueState
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |