Class GradleTask.Attribute
java.lang.Object
io.spring.initializr.generator.buildsystem.gradle.GradleTask.Attribute
- Enclosing class:
- GradleTask
An attribute of a task.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic GradleTask.AttributeCreate an attribute that appends the specified value.booleangetName()Return the name of the attribute.getType()Return theGradleTask.Attribute.Typeof the attribute.getValue()Return the value of the attribute to set or to append.inthashCode()static GradleTask.AttributeCreate an attribute that sets the specified value.toString()
-
Method Details
-
set
Create an attribute that sets the specified value.- Parameters:
name- the name of the attributevalue- the value to set- Returns:
- an attribute
-
append
Create an attribute that appends the specified value.- Parameters:
name- the name of the attributevalue- the value to append- Returns:
- an attribute
-
getName
Return the name of the attribute.- Returns:
- the name
-
getValue
Return the value of the attribute to set or to append.- Returns:
- the value
-
getType
Return theGradleTask.Attribute.Typeof the attribute.- Returns:
- the type
-
equals
-
hashCode
public int hashCode() -
toString
-