|
Groovy Documentation | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||
java.lang.Objectorg.gradle.api.tasks.Optional
@Retention(RetentionPolicy.RUNTIME) @Target(ElementType.METHOD) @interface Optional
Marks a property as optional. This means that a value does not have to be specified for the property, but any value specified must meet any validation constraints for the property.
| Method Summary |
|---|
| Methods inherited from class java.lang.Object | |
|---|---|
| wait, wait, wait, hashCode, getClass, equals, toString, notify, notifyAll |
Groovy Documentation