Class Template
java.lang.Object
com.priint.pubserver.comet.entity.template.Template
The Class Template.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe Enum TemplateDescriptor. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Template.TemplateDescriptorgetTemplateDescriptor(Class<? extends CometTemplate> clazz) Gets the template descriptor.static Template.TemplateDescriptorgetTemplateDescriptor(String kind) Gets the template descriptor.static StringgetTemplateKind(Class<? extends CometTemplate> clazz) Gets the template kind.
-
Constructor Details
-
Template
public Template()
-
-
Method Details
-
getTemplateDescriptor
public static Template.TemplateDescriptor getTemplateDescriptor(Class<? extends CometTemplate> clazz) Gets the template descriptor.- Parameters:
clazz- the clazz- Returns:
- the template descriptor
-
getTemplateDescriptor
Gets the template descriptor.- Parameters:
kind- the kind- Returns:
- the template descriptor
-
getTemplateKind
Gets the template kind.- Parameters:
clazz- the clazz- Returns:
- the template kind
-