org.sejda.model.validation.constraint
Annotation Type SingleOutputAllowedExtensions
@ValidSingleOutput
@Target(value={METHOD,FIELD,ANNOTATION_TYPE,PARAMETER,TYPE})
@Retention(value=RUNTIME)
@Constraint(validatedBy=SingleOutputExtensionsValidator.class)
@Documented
public @interface SingleOutputAllowedExtensions
Constraint validating that a single output parameter has one of the expected output extensions (in the output file name for file task output or in the outputname attribute for
non file task output). Default expected extension is Pdf.
- Author:
- Andrea Vacondio
message
public abstract String message
- Default:
- "TaskOutput is not of the expected type."
groups
public abstract Class<?>[] groups
- Default:
- {}
payload
public abstract Class<? extends javax.validation.Payload>[] payload
- Default:
- {}
extensions
public abstract String[] extensions
- Default:
- "pdf"
Copyright © 2013 sejda. All Rights Reserved.