interface IValidation
Language | Type name |
---|---|
.NET | Constructs.IValidation |
Java | software.constructs.IValidation |
Python | constructs.IValidation |
TypeScript (source) | constructs » IValidation |
Implement this interface in order for the construct to be able to validate itself.
Methods
Name | Description |
---|---|
validate() | Validate the current construct. |
validate()
public validate(): string[]
Returns
string[]
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.