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.Payload
How to handle labels for bean validation. The default implementationIWorkflowBeanValidator
uses the property path of the failed property as a key for the label. You can useLabel.Omit
as thePayload
of a bean constraint to omit this behavior and use only the constraint message. The optionLabel.Include
is the default and does not need to be specified explicitly, but it is provided for consistency.You can also use
Label.Custom
for 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 interface
Label.Custom
Use a custom label.static interface
Label.Include
Include the default label, seeLabel
.static interface
Label.Omit
Do not include the label, seeLabel
.
-