Package de.xima.fc.interfaces.workflow
Interface Label
-
- All Superinterfaces:
javax.validation.Payload
- All Known Subinterfaces:
BaseActionProps.name,FcDeleteAttachmentProps.attachmentsToDelete,FcHttpRequestProps.connectTimeout,FcHttpRequestProps.readTimeout,IUploadConsuming.uploadElements,Label.Custom,Label.Include,Label.Omit,MultiAttachment.attachments,MultiAttachment.searchFilenamePattern,MultiFile.resources,MultiFile.searchFilename,MultiFile.urls,SingleAttachment.attachment,SingleAttachment.searchFilenamePattern,SingleFile.resource,SingleFile.searchFilename,SingleFile.url,TimeDuration.duration,TimeDuration.unit
public interface Label extends javax.validation.PayloadHow to handle labels for bean validation. The default implementationIWorkflowBeanValidatoruses the property path of the failed property as a key for the label. You can useLabel.Omitas thePayloadof a bean constraint to omit this behavior and use only the constraint message. The optionLabel.Includeis the default and does not need to be specified explicitly, but it is provided for consistency.You can also use
Label.Customfor a custom label, see that interface for an example.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceLabel.CustomUse a custom label.static interfaceLabel.IncludeInclude the default label, seeLabel.static interfaceLabel.OmitDo not include the label, seeLabel.
-