|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface TestNameResponsibilityFacade
Provides the interface to access and modify the responsibility on a test name. Thread-safe.
| Method Summary | |
|---|---|
ResponsibilityEntry |
findTestNameResponsibility(TestName testName,
java.lang.String projectId)
Returns the responsibility entry for a test name in a project, or null if it does not exist. |
java.util.List<TestNameResponsibilityEntry> |
getUserTestNameResponsibilities(User user,
java.lang.String projectId)
Returns the list of entries associated with the user (if specified) in a specified project. |
void |
removeTestNameResponsibility(TestName testName,
java.lang.String projectId)
Removes the responsibility entry associated with the test name. |
void |
setTestNameResponsibility(java.util.Collection<TestName> testNames,
java.lang.String projectId,
ResponsibilityEntry entry)
Sets the responsibility for several tests at once in a specified project. |
void |
setTestNameResponsibility(TestName testName,
java.lang.String projectId,
ResponsibilityEntry entry)
Sets the responsibility entry for the test name in a specified project. |
| Method Detail |
|---|
@Nullable
ResponsibilityEntry findTestNameResponsibility(@NotNull
TestName testName,
@NotNull
java.lang.String projectId)
testName - the test nameprojectId - project id
@NotNull
java.util.List<TestNameResponsibilityEntry> getUserTestNameResponsibilities(@Nullable
User user,
@Nullable
java.lang.String projectId)
user - the responsible user; null means all usersprojectId - the project id; null means all projects
void setTestNameResponsibility(@NotNull
TestName testName,
@NotNull
java.lang.String projectId,
@NotNull
ResponsibilityEntry entry)
Note: if new reporter user isn't set (entry.getReporterUser() == null), it is not overwritten.
testName - the test nameprojectId - the project identry - responsibility entry
void setTestNameResponsibility(@NotNull
java.util.Collection<TestName> testNames,
@NotNull
java.lang.String projectId,
@NotNull
ResponsibilityEntry entry)
testNames - collection of test namesprojectId - the project identry - new responsibility entrysetTestNameResponsibility(TestName, String, ResponsibilityEntry)
void removeTestNameResponsibility(@NotNull
TestName testName,
@NotNull
java.lang.String projectId)
testName - the test nameprojectId - the project id
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||