Add javadoc to SonarStateUpdateListener
Summary: Documentation Reviewed By: danielbuechele Differential Revision: D9215929 fbshipit-source-id: 1c67fc2098aa0734d85524697f196a6b0ae4c721
This commit is contained in:
committed by
Facebook Github Bot
parent
a0b9d23d40
commit
b944f496dc
@@ -2,6 +2,11 @@ package com.facebook.sonar.core;
|
|||||||
|
|
||||||
public interface SonarStateUpdateListener {
|
public interface SonarStateUpdateListener {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Called when the state of the sonar client changes.
|
||||||
|
* Typical implementations will subscribe by calling {@link com.facebook.sonar.core.SonarClient#subscribeForUpdates()}, to start receiving update events.
|
||||||
|
* Calling {@link com.facebook.sonar.core.SonarClient#getState()} will retrieve the updated state.
|
||||||
|
*/
|
||||||
void onUpdate();
|
void onUpdate();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user