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.Attribute
Create an attribute that appends the specified value.boolean
getName()
Return the name of the attribute.getType()
Return theGradleTask.Attribute.Type
of the attribute.getValue()
Return the value of the attribute to set or to append.int
hashCode()
static GradleTask.Attribute
Create 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.Type
of the attribute.- Returns:
- the type
-
equals
-
hashCode
public int hashCode() -
toString
-