OSDN Git Service

プロファイル編集
[coroid/inqubus.git] / frontend / src / saccubus / converter / profile / CommentProfile.java
1 package saccubus.converter.profile;
2
3 /**
4  * 変換対象となるコメントファイル情報を保持するためのプロファイルです.
5  * @author yuki
6  */
7 public interface CommentProfile extends Inputable {
8
9     /**
10      * @return {@link #isDownload()}がtrueの場合に
11      * 取得する「再生時間に応じたコメント」数. 負値の場合は再生時間に応じた
12      * 既定数を取得します.
13      * {@link #isDownload()}がfalseの場合未定義.
14      */
15     int getLengthRelatedCommentSize();
16
17     /**
18      * @return {@link #isDownload()}がtrueの場合に,
19      * 昔の仕様でコメントダウンロードを行う場合はtrue. 現在の仕様で行う場合はfalse.
20      * {@link #isDownload()}がfalseの場合未定義.
21      */
22     boolean isDisablePerMinComment();
23
24     /**
25      * @return {@link #isDownload()}がtrue, かつ
26      * {@link #isDisablePerMinComment()}がfalseの場合に
27      * 取得する「1分当たりコメント」数. 負値の場合は再生時間に応じた
28      * 既定数を取得します.
29      * {@link #isDownload()}がfalse, または
30      * {@link #isDisablePerMinComment()}がtrueの場合未定義.
31      */
32     int getPerMinCommentSize();
33
34     /**
35      * @return {@link #isDownload()}がtrueの場合に,過去ログを取得する時点.
36      * 1970/1/1 00:00:00 GMT からの経過秒数(ミリ秒ではない).
37      * 負値の場合は過去ログ取得ではない.
38      * {@link #isDownload()}がfalseの場合未定義.
39      */
40     long getBackLogPoint();
41 }