Extensions for org.gradle.api.file.ContentFilterable
| Type Params | Return Type | Name and description |
|---|---|---|
|
static void |
convertFormat(org.gradle.api.file.ContentFilterable self, ca.stellardrift.build.configurate.ConfigSource source, ca.stellardrift.build.configurate.ConfigTarget target, groovy.lang.Closure transformer = { })Convert the format of files within self. |
|
static void |
transform(org.gradle.api.file.ContentFilterable self, ca.stellardrift.build.configurate.ConfigProcessor<?, ?> configType, groovy.lang.Closure transformer)Perform a transformation on the deserialized node for a configuration. |
|
static void |
validate(org.gradle.api.file.ContentFilterable self, ca.stellardrift.build.configurate.ConfigSource format)Ensure that a configuration file can be successfully read by the specified format at build time. |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Convert the format of files within self.
self - receiversource - format of the input filetarget - format of the output filetransformer - an extra action that can be performed on a node. optional.Perform a transformation on the deserialized node for a configuration.
self - receiverconfigType - for the type of a configuration filetransformer - the action to perform on each nodeEnsure that a configuration file can be successfully read by the specified format at build time.
self - receiverformat - the format to validate against