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