|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface BuildServer
This interface provides information about TeamCity server and allows to get some server data.
| Method Summary | |
|---|---|
byte[] |
fetchData(long userId,
long buildId,
java.lang.String sourceId,
java.lang.String whatToFetch)
Get custom data provided by some data provider. |
java.util.List<java.lang.String> |
getResponsibilityIds(long userId)
Returns all configurations specified user is currently responsible for. |
| Method Detail |
|---|
java.util.List<java.lang.String> getResponsibilityIds(long userId)
userId - TeamCity user unique identifier.
byte[] fetchData(long userId,
long buildId,
java.lang.String sourceId,
java.lang.String whatToFetch)
#getDataUrl method,
but it should be used when data itself should be obtained, not URL reference to it.
userId - Id of user who tries to fetch the data from the server.buildId - buildId parameter, which is passed to the fetchData method of DataFetcher interface implementation.sourceId - source identifier, which was used while DataFetcher registration using SBuildServer#registerExtension method.whatToFetch - custom parameter, which is passed to the fetchData method of DataFetcher interface implementation.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||