Package com.xebialabs.xlrelease.service
Class TaskService
java.lang.Object
com.xebialabs.xlrelease.service.TaskService
-
Constructor Summary
ConstructorsConstructorDescriptionTaskService(com.xebialabs.xlrelease.repository.TaskRepository taskRepository, com.xebialabs.xlrelease.service.ExecutionService executionService, ReleaseService releaseService, CommentService commentService, com.xebialabs.xlrelease.security.PermissionChecker permissions, TaskAccessService taskAccessService, TaskTypeConversion taskTypeConversionService, TeamService teamService, com.xebialabs.xlrelease.api.internal.InternalMetadataDecoratorService decoratorService, com.xebialabs.xlrelease.service.CiIdService ciIdService, com.xebialabs.xlrelease.service.ArchivingService archivingService, XLReleaseEventBus eventBus, PhaseService phaseService, com.xebialabs.xlrelease.repository.ConfigurationRepository configurationRepository, com.xebialabs.xlrelease.config.XlrConfig xlrConfig, com.xebialabs.xlrelease.service.FolderService folderService, com.xebialabs.xlrelease.service.VariableService variableService, com.xebialabs.deployit.ServerConfiguration serverConfiguration, SharedConfigurationService sharedConfigurationService) -
Method Summary
Modifier and TypeMethodDescriptioncom.xebialabs.xlrelease.domain.TaskabortTasks(List<String> taskIds, String commentText) com.xebialabs.xlrelease.domain.CommentaddComment(String taskId, String commentText) addComments(List<String> taskIds, String commentText) voidapplyNewTeam(String newTeam, com.xebialabs.xlrelease.domain.Task task) voidapplyNewTeam(String newTeam, com.xebialabs.xlrelease.domain.Task task, boolean doTaskLockOperationCheck) com.xebialabs.xlrelease.domain.TaskchangeTaskType(String taskId, com.xebialabs.deployit.plugin.api.reflect.Type newTaskType) com.xebialabs.xlrelease.domain.TaskcompleteTask(String taskId, String commentText) completeTasks(List<String> taskIds, String commentText) com.xebialabs.xlrelease.domain.Taskcom.xebialabs.xlrelease.domain.Taskcreate(com.xebialabs.xlrelease.domain.TaskContainer taskContainer, String generatedTaskId, com.xebialabs.xlrelease.domain.Task task, Integer position, Function<com.xebialabs.xlrelease.domain.Task, com.xebialabs.xlrelease.domain.events.TaskCreatedOrTypeChangedEvent> eventBuilder) com.xebialabs.xlrelease.domain.Taskcom.xebialabs.xlrelease.domain.TaskvoiddeleteTasks(List<String> taskIds) com.xebialabs.xlrelease.domain.TaskduplicateTask(String originTaskId) booleancom.xebialabs.xlrelease.domain.Task<T extends com.xebialabs.xlrelease.domain.Task>
T<T extends com.xebialabs.xlrelease.domain.Task>
TfindById(String taskId, com.xebialabs.xlrelease.serialization.json.repository.ResolveOptions resolveOptions) List<com.xebialabs.xlrelease.domain.Task>com.xebialabs.xlrelease.domain.TaskfindByIdIncludingArchived(String taskId) com.xebialabs.xlrelease.domain.TaskfindByIdIncludingArchived(String taskId, com.xebialabs.xlrelease.serialization.json.repository.ResolveOptions resolveOptions) List<com.xebialabs.xlrelease.domain.Task>findByIdIncludingArchived(List<String> taskIds) List<com.xebialabs.xlrelease.repository.query.TaskBasicData>findTasksForPolling(List<String> taskIds) getAllTags(int limitNumber) List<com.xebialabs.xlrelease.domain.Comment>getCommentsOfTask(String taskId) com.xebialabs.xlrelease.domain.status.TaskStatusgetTaskStatuses(String releaseId) com.xebialabs.xlrelease.domain.TaskgetTaskWithoutDecoration(String taskId) getUniqueId(String parent) isUserInTeam(String taskId, String userName) com.xebialabs.xlrelease.domain.Taskcom.xebialabs.xlrelease.domain.TaskmoveTask(MovementIndexes movementIndexes) voidnotifyOverdueTasks(com.xebialabs.xlrelease.domain.Release release, List<String> taskIds) voidnotifyTasksDueSoon(com.xebialabs.xlrelease.domain.Release release, List<String> taskIds) reassignTasks(List<String> taskIds, String newTeam, String newOwner) com.xebialabs.xlrelease.domain.TaskreassignToOwner(String taskId, String newOwner) com.xebialabs.xlrelease.domain.TaskreopenTask(String taskId, String commentText) reopenTasks(List<String> taskIds, String commentText) com.xebialabs.xlrelease.domain.TaskretryTasks(List<String> taskIds, String commentText) voidsetStatusLine(String taskId, String statusLine) voidsetTaskUpdaters(List<? extends TaskUpdater> taskUpdaters) com.xebialabs.xlrelease.domain.Taskcom.xebialabs.xlrelease.domain.TaskstartPendingTask(String taskId, String commentText) com.xebialabs.xlrelease.domain.TaskstartWithInput(String taskId, List<com.xebialabs.xlrelease.domain.variables.Variable> variables) com.xebialabs.xlrelease.domain.TaskunlockTask(String id) com.xebialabs.xlrelease.domain.TaskupdateTaskVariables(String taskId, List<com.xebialabs.xlrelease.domain.variables.Variable> variables, org.joda.time.DateTime modifiedAt, Set<TaskUpdateDirective> updateDirectives) com.xebialabs.xlrelease.domain.TaskupdateTaskWith(String taskId, com.xebialabs.xlrelease.domain.Task updated) com.xebialabs.xlrelease.domain.TaskupdateTaskWith(String taskId, com.xebialabs.xlrelease.domain.Task updated, Set<TaskUpdateDirective> updateDirectives, boolean overrideLock)
-
Constructor Details
-
Method Details
-
setTaskUpdaters
-
getTaskWithoutDecoration
-
findById
-
findById
public <T extends com.xebialabs.xlrelease.domain.Task> T findById(String taskId, com.xebialabs.xlrelease.serialization.json.repository.ResolveOptions resolveOptions) -
findById
-
findByIdIncludingArchived
-
findTasksForPolling
-
findByIdIncludingArchived
-
findByIdIncludingArchived
public com.xebialabs.xlrelease.domain.Task findByIdIncludingArchived(String taskId, com.xebialabs.xlrelease.serialization.json.repository.ResolveOptions resolveOptions) -
getUniqueId
-
exists
-
create
public com.xebialabs.xlrelease.domain.Task create(String containerId, com.xebialabs.xlrelease.domain.Task task) -
create
-
create
public com.xebialabs.xlrelease.domain.Task create(com.xebialabs.xlrelease.domain.TaskContainer taskContainer, @Nullable String generatedTaskId, com.xebialabs.xlrelease.domain.Task task, Integer position, Function<com.xebialabs.xlrelease.domain.Task, com.xebialabs.xlrelease.domain.events.TaskCreatedOrTypeChangedEvent> eventBuilder) -
updateTaskWith
public com.xebialabs.xlrelease.domain.Task updateTaskWith(String taskId, com.xebialabs.xlrelease.domain.Task updated) -
updateTaskWith
public com.xebialabs.xlrelease.domain.Task updateTaskWith(String taskId, com.xebialabs.xlrelease.domain.Task updated, Set<TaskUpdateDirective> updateDirectives, boolean overrideLock) -
updateTaskVariables
public com.xebialabs.xlrelease.domain.Task updateTaskVariables(String taskId, List<com.xebialabs.xlrelease.domain.variables.Variable> variables, org.joda.time.DateTime modifiedAt, Set<TaskUpdateDirective> updateDirectives) -
setStatusLine
-
changeTaskType
public com.xebialabs.xlrelease.domain.Task changeTaskType(String taskId, com.xebialabs.deployit.plugin.api.reflect.Type newTaskType) -
completeTask
-
completeTasks
-
skipTask
-
skipTasks
-
failTask
-
failTasks
-
abortTask
-
abortTasks
-
reopenTasks
-
reopenTask
-
retryTask
-
retryTasks
-
startPendingTask
-
startWithInput
-
getCommentsOfTask
-
addComment
-
addComments
-
applyNewTeam
-
applyNewTeam
public void applyNewTeam(String newTeam, com.xebialabs.xlrelease.domain.Task task, boolean doTaskLockOperationCheck) -
reassignToOwner
-
reassignTasks
-
deleteTasks
-
delete
-
copyTask
-
notifyOverdueTasks
-
notifyTasksDueSoon
-
duplicateTask
-
moveTask
-
getTitle
-
lockTask
-
unlockTask
-
getAllTags
-
getStatus
-
getTaskStatuses
-
isUserInTeam
-