Class LicenseAnnotation.Builder
java.lang.Object
org.apache.juneau.annotation.AnnotationBuilder
org.apache.juneau.http.annotation.LicenseAnnotation.Builder
- Enclosing class:
LicenseAnnotation
Builder class.
See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Instantiates a new@License
object initialized with this builder.Sets theLicense.name()
property on this annotation.Sets theLicense.url()
property on this annotation.
-
Constructor Details
-
Builder
protected Builder()Constructor.
-
-
Method Details
-
build
Instantiates a new@License
object initialized with this builder.- Returns:
- A new
@License
object.
-
name
Sets theLicense.name()
property on this annotation.- Parameters:
value
- The new value for this property.- Returns:
- This object.
-
url
Sets theLicense.url()
property on this annotation.- Parameters:
value
- The new value for this property.- Returns:
- This object.
-