public static class VideoBackendFeedbackTask.FeedbackTaskBuilder extends java.lang.Object
VideoBackendFeedbackTask
and executable using VideoContentCore.scheduleTask(VideoTaskDetails)
VideoContentCore
,
VideoTaskDetails
Constructor and Description |
---|
FeedbackTaskBuilder(AsyncTask.TaskType taskType) |
Modifier and Type | Method and Description |
---|---|
VideoBackendFeedbackTask.FeedbackTaskBuilder |
addBackend(AnalysisBackend end) |
VideoBackendFeedbackTask.FeedbackTaskBuilder |
addVideo(Video video)
Add video to feedback task if the given video has (valid) changes
|
VideoBackendFeedbackTask.FeedbackTaskBuilder |
addVideos(VideoList videos) |
VideoTaskDetails |
build() |
VideoBackendFeedbackTask.FeedbackTaskBuilder |
clearVideos() |
VideoBackendFeedbackTask.FeedbackTaskBuilder |
setBackends(BackendStatusList backendStatusList)
This will automatically filter out back-end with inadequate capabilities
|
VideoBackendFeedbackTask.FeedbackTaskBuilder |
setUser(UserIdentity userId) |
public FeedbackTaskBuilder(AsyncTask.TaskType taskType) throws java.lang.IllegalArgumentException
taskType
- AsyncTask.TaskType.BACKEND_FEEDBACK
java.lang.IllegalArgumentException
- on unsupported/invalid task typepublic VideoBackendFeedbackTask.FeedbackTaskBuilder addVideo(Video video)
video
- public VideoBackendFeedbackTask.FeedbackTaskBuilder addVideos(VideoList videos)
videos
- public VideoBackendFeedbackTask.FeedbackTaskBuilder setUser(UserIdentity userId)
userId
- public VideoBackendFeedbackTask.FeedbackTaskBuilder addBackend(AnalysisBackend end) throws java.lang.IllegalArgumentException
end
- java.lang.IllegalArgumentException
- on null or invalid back-endpublic VideoBackendFeedbackTask.FeedbackTaskBuilder setBackends(BackendStatusList backendStatusList)
backendStatusList
- public VideoBackendFeedbackTask.FeedbackTaskBuilder clearVideos()
public VideoTaskDetails build() throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
- on invalid value combinationCopyright © 2015 Tampere University of Technology, Pori Department.