src/main/java/zoot/tube/schedule/TaskScheduler.java
/**
     * Adds a scheduled Task to make all the Videos in a Playlist private.
     *
     * @param user a user with a stored refresh token.
     * @param start when the Task should run by.
     * @param expire when the Task should revert any changes.
     * @param playlistID the ID of the playlist.
     */
Adds a scheduled Task to make all the Videos in a Playlist private.
@param user a user with a stored refresh token.
@param start when the Task should run by.
@param expire when the Task should revert any changes.
@param playlistID the ID of the playlist.
Adds a scheduled Task to make all the Videos in a Playlist private . @param user a user with a stored refresh token . @param start when the Task should run by . @param expire when the Task should revert any changes . @param playlistID the ID of the playlist .
public void scheduleMakeVideosInPlaylistPrivate(String user, Date start, Date expire, String playlistID) {
        Task task = new Task(user, TaskType.MAKE_VIDEOS_IN_PLAYLIST_PRIVATE, start, expire, playlistID);
        TaskIO.saveTask(task);
        loadTaskIntoScheduler(task);
    }
public void scheduleMakeVideosInPlaylistPrivate ( String user , Date start , Date expire , String playlistID ) { Task task = new Task ( user , TaskType . MAKE_VIDEOS_IN_PLAYLIST_PRIVATE , start , expire , playlistID ) ; TaskIO . saveTask ( task ) ; loadTaskIntoScheduler ( task ) ; }
Adds a scheduled Task to make all the Videos in a Playlist private.
Adds a scheduled Task to make all the Videos in a Playlist private .