jetbrains.buildServer.responsibility
Class ResponsibilityEntryFactory
java.lang.Object
jetbrains.buildServer.responsibility.ResponsibilityEntryFactory
public class ResponsibilityEntryFactory
- extends java.lang.Object
A helper factory for creating responsibility entries.
- Since:
- 5.0
- Author:
- Maxim Podkolzine (maxim.podkolzine@jetbrains.com)
- See Also:
ResponsibilityEntry
|
Method Summary |
static BuildTypeResponsibilityEntry |
createEntry(BuildType buildType,
ResponsibilityEntry.State state,
User responsible,
User reporter,
java.util.Date timestamp,
java.lang.String comment)
Returns new build type responsibility entry. |
static TestNameResponsibilityEntry |
createEntry(TestName testName,
long testNameId,
ResponsibilityEntry.State state,
User responsible,
User reporter,
java.util.Date timestamp,
java.lang.String comment,
java.lang.String projectId)
Returns new test responsibility entry. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResponsibilityEntryFactory
public ResponsibilityEntryFactory()
createEntry
public static BuildTypeResponsibilityEntry createEntry(@NotNull
BuildType buildType,
@NotNull
ResponsibilityEntry.State state,
@NotNull
User responsible,
@Nullable
User reporter,
@NotNull
java.util.Date timestamp,
@NotNull
java.lang.String comment)
- Returns new build type responsibility entry.
- Parameters:
buildType - the build typestate - the stateresponsible - responsible userreporter - reporter usertimestamp - the timestampcomment - the comment
- Returns:
- new instance
createEntry
public static TestNameResponsibilityEntry createEntry(@NotNull
TestName testName,
long testNameId,
@NotNull
ResponsibilityEntry.State state,
@NotNull
User responsible,
@Nullable
User reporter,
@NotNull
java.util.Date timestamp,
@NotNull
java.lang.String comment,
java.lang.String projectId)
- Returns new test responsibility entry.
- Parameters:
testName - the test nametestNameId - the test name idstate - the stateresponsible - responsible userreporter - reporter usertimestamp - the timestampcomment - the commentprojectId - project, where responsibility were taken
- Returns:
- new instance