|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface BuildTypeResponsibilityFacade
Provides the interface to access and modify the responsibility on a build type. Thread-safe.
| Method Summary | |
|---|---|
ResponsibilityEntry |
findBuildTypeResponsibility(BuildType buildType)
Returns the responsibility entry for a build type, or null if it does not exist. |
java.util.List<BuildTypeResponsibilityEntry> |
getUserBuildTypeResponsibilities(User user,
java.lang.String projectId)
Returns the list of entries associated with the user (if specified) in a specified project (or globally). |
void |
removeBuildTypeResponsibility(BuildType buildType)
Deletes the build type entry associated with the build type. |
void |
setBuildTypeResponsibility(BuildType buildType,
ResponsibilityEntry entry)
Sets the responsibility entry for the build type. |
| Method Detail |
|---|
@Nullable
ResponsibilityEntry findBuildTypeResponsibility(@NotNull
BuildType buildType)
buildType - the build type
@NotNull
java.util.List<BuildTypeResponsibilityEntry> getUserBuildTypeResponsibilities(@Nullable
User user,
@Nullable
java.lang.String projectId)
user - the responsible user; null means all usersprojectId - the project id; null means all projects
void setBuildTypeResponsibility(@NotNull
BuildType buildType,
@NotNull
ResponsibilityEntry entry)
Note: if new reporter user isn't set (entry.getReporterUser() == null), it is not overwritten.
buildType - the build typeentry - responsibility entry
void removeBuildTypeResponsibility(@NotNull
BuildType buildType)
buildType - the build type
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||