public final class ConfigureUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static DirectoryProperty |
configureDisplayName(DirectoryProperty self,
String propertyName)
Configures the property display name with the specified value.
|
static <T> ListProperty<T> |
configureDisplayName(ListProperty<T> self,
String propertyName)
Configures the property display name with the specified value.
|
static <T> Property<T> |
configureDisplayName(Property<T> self,
String propertyName)
Configures the property display name with the specified value.
|
static RegularFileProperty |
configureDisplayName(RegularFileProperty self,
String propertyName)
Configures the property display name with the specified value.
|
static <T> SetProperty<T> |
configureDisplayName(SetProperty<T> self,
String propertyName)
Configures the property display name with the specified value.
|
static <T> void |
setPropertyValue(ListProperty<T> self,
Object value)
Set property value to the specified value.
|
static <T> void |
setPropertyValue(Property<T> self,
Object value)
Set property value to the specified value.
|
static <T> void |
setPropertyValue(SetProperty<T> self,
Object value)
Set property value to the specified value.
|
public static <T> void setPropertyValue(Property<T> self, Object value)
T - the type of the property.self - the property to configure.value - the value to set.public static <T> void setPropertyValue(SetProperty<T> self, Object value)
T - the type of the property.self - the set property to configure.value - the value to set.public static <T> void setPropertyValue(ListProperty<T> self, Object value)
T - the type of the property.self - the list property to configure.value - the value to set.public static <T> Property<T> configureDisplayName(Property<T> self, String propertyName)
T - the type of the property.self - the property to configure.propertyName - the property name to use in the display name.public static RegularFileProperty configureDisplayName(RegularFileProperty self, String propertyName)
self - the property to configure.propertyName - the property name to use in the display name.public static DirectoryProperty configureDisplayName(DirectoryProperty self, String propertyName)
self - the property to configure.propertyName - the property name to use in the display name.public static <T> SetProperty<T> configureDisplayName(SetProperty<T> self, String propertyName)
T - the type of the property.self - the property to configure.propertyName - the property name to use in the display name.public static <T> ListProperty<T> configureDisplayName(ListProperty<T> self, String propertyName)
T - the type of the property.self - the property to configure.propertyName - the property name to use in the display name.