批注接口 RegisterStructureTemplate
Put this annotation on a static field containing either a
StructureTemplate
, a Supplier
of StructureTemplate
or a StructureTemplateBuilder
in order to automatically register that code-defined template.-
必需元素概要
所需元素
-
元素详细资料
-
value
String value返回 the ID of the template。- 返回:
- the ID of the template
-