jetbrains.buildServer.configuration
Interface ChangeProvider

All Known Implementing Classes:
FilesWatcher, FileWatcher

public interface ChangeProvider

A source of some changes for ChangeObserver.

See Also:
changesDetected(), ChangeObserver, ChangeListener

Method Summary
 boolean changesDetected()
          Returns true if changes occurred in this change provider, false - nothing changed.
 java.lang.String getRequestor()
          Returns (short) string representation of this change source
 void resetChanged()
          Signals this ChangeProvider to reset changes information and assume that nothing has changed.
 

Method Detail

changesDetected

boolean changesDetected()
Returns true if changes occurred in this change provider, false - nothing changed.

Returns:
true if changes occurred in this change provider, false - nothing changed.
See Also:
resetChanged()

resetChanged

void resetChanged()
Signals this ChangeProvider to reset changes information and assume that nothing has changed. Postcondition: changesDetected returns false.


getRequestor

@Nullable
java.lang.String getRequestor()
Returns (short) string representation of this change source

Returns:
(short) string representation of this change source