注釈型 Condition


@Documented
@Target(FIELD)
@Retention(RUNTIME)
public @interface Condition
The annotation that specifies mapping between a field and a condition defined in a conten file.
導入されたバージョン:
1.0.0
  • 必須要素の概要

    必須要素
    修飾子とタイプ 必須要素 説明
    String value
    Specify the field in the content class that you want to tie to the condition defined in the content file.
  • 要素の詳細

    • value

      String value
      Specify the field in the content class that you want to tie to the condition defined in the content file.

      If a specific condition name is not specified when this annotation is given to a field in the content class, the annotated field name is inferred as the condition key defined in the content file. If the field name is different from the key name defined in the content file with this annotation, specify any key name in this field.

      戻り値:
      The alias name of condition