public class TemplateVoid extends java.lang.Object implements TemplatePayload
TemplatePayload sentinel representing "no value needed".
Replaces Void as a type parameter in templates that have no shared
configuration or no rollback. Implements TemplatePayload so it can be
used in any template type parameter position (CONFIG, APPLY, or ROLLBACK).
| Constructor and Description |
|---|
TemplateVoid() |
| Modifier and Type | Method and Description |
|---|---|
TemplatePayloadInfo |
getInfo()
Returns metadata about this payload so the framework can make
centralized decisions based on payload characteristics.
|
java.util.List<TemplatePayloadValidationError> |
validate(TemplateValidationContext context)
Validates this field using the supplied change-level context
and returns any errors found.
|
public java.util.List<TemplatePayloadValidationError> validate(TemplateValidationContext context)
TemplateFieldvalidate in interface TemplateFieldcontext - change-level metadata available during validationpublic TemplatePayloadInfo getInfo()
TemplatePayloadgetInfo in interface TemplatePayloadnull