|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.microsoft.tfs.core.pendingcheckin.StandardPendingCheckinNotes
public class StandardPendingCheckinNotes
Standard implementation of PendingCheckinNotes
.
The AffectedTeamProjects
object given during construction is
permitted to change during the life time of a
StandardPendingCheckinNotes
object, and each call to
evaluate()
will use the most recent data from the
AffectedTeamProjects
object.
Constructor Summary | |
---|---|
StandardPendingCheckinNotes(CheckinNote checkinNotes,
VersionControlClient client,
AffectedTeamProjects affectedTeamProjects)
Constructs a standard PendingCheckinNotes object. |
Method Summary | |
---|---|
void |
addNotesChangedListener(NotesChangedListener listener)
Adds a listener that's invoked whenever user's check-in notes in the user interface are changed (via PendingCheckinNotes.setCheckinNotes(CheckinNote) . |
CheckinNoteFailure[] |
evaluate()
Evaluates the checkin notes that have been set on this object. |
CheckinNote |
getCheckinNotes()
|
CheckinNoteFieldDefinition[] |
getFieldDefinitions()
Gets the field definitions that the checkin note was last evaluated against. |
void |
removeNotesChangedListener(NotesChangedListener listener)
Removes a listener that was previously added by PendingCheckinNotes.addNotesChangedListener(NotesChangedListener) . |
void |
setCheckinNotes(CheckinNote checkinNotes)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StandardPendingCheckinNotes(CheckinNote checkinNotes, VersionControlClient client, AffectedTeamProjects affectedTeamProjects)
PendingCheckinNotes
object.
checkinNotes
- the notes set for the pending checkin (must not be
null
)client
- the version control client in use (must not be null
)affectedTeamProjects
- team projects affected by this checkin (must not be
null
) This object is not modified by this
implementation, but it is allowed to change while this
PendingCheckinNotes
object is alive.Method Detail |
---|
public CheckinNoteFailure[] evaluate()
evaluate
in interface PendingCheckinNotes
public CheckinNote getCheckinNotes()
getCheckinNotes
in interface PendingCheckinNotes
public void setCheckinNotes(CheckinNote checkinNotes)
setCheckinNotes
in interface PendingCheckinNotes
checkinNotes
- the checkin notes to evaluate (must not be null
)public CheckinNoteFieldDefinition[] getFieldDefinitions()
PendingCheckinNotes.evaluate()
has not yet been called, returns null.
getFieldDefinitions
in interface PendingCheckinNotes
PendingCheckinNotes.evaluate()
has been called).public void addNotesChangedListener(NotesChangedListener listener)
PendingCheckinNotes.setCheckinNotes(CheckinNote)
.
addNotesChangedListener
in interface PendingCheckinNotes
listener
- the listener to add (must not be null
)public void removeNotesChangedListener(NotesChangedListener listener)
PendingCheckinNotes.addNotesChangedListener(NotesChangedListener)
.
removeNotesChangedListener
in interface PendingCheckinNotes
listener
- the listener to remove (must not be null
)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |