Package software.constructs
Interface IValidation
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
IValidation.Jsii$Default
- All Known Implementing Classes:
IValidation.Jsii$Proxy
@Generated(value="jsii-pacmak/1.53.0 (build c071d26)", date="2022-02-12T00:09:13.307Z") @Stability(Stable) public interface IValidation extends software.amazon.jsii.JsiiSerializable
Implement this interface in order for the construct to be able to validate itself.Implement this interface in order for the construct to be able to validate itself.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
IValidation.Jsii$Default
Internal default implementation forIValidation
.static class
IValidation.Jsii$Proxy
A proxy class which represents a concrete javascript instance of this type.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<String>
validate()
Validate the current construct.
-
-
-
Method Detail
-
validate
@Stability(Stable) @NotNull List<String> validate()
Validate the current construct.This method can be implemented by derived constructs in order to perform validation logic. It is called on all constructs before synthesis. Validate the current construct.
This method can be implemented by derived constructs in order to perform validation logic. It is called on all constructs before synthesis.
- Returns:
- An array of validation error messages, or an empty array if there the construct is valid.
-
-