- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for SimpleTemplateOperation (0.24 sec)
-
platforms/software/build-init/src/main/java/org/gradle/buildinit/plugins/internal/SimpleTemplateOperation.java
import java.io.File; import java.io.Writer; import java.net.URL; import java.util.Map; public class SimpleTemplateOperation implements TemplateOperation { private final URL templateURL; private final File target; private final Map<String, TemplateValue> bindings; public SimpleTemplateOperation(URL templateURL, File target, Map<String, TemplateValue> bindings) { if (templateURL == null) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 13:47:19 UTC 2023 - 2.4K bytes - Viewed (0) -
platforms/software/build-init/src/test/groovy/org/gradle/buildinit/plugins/internal/SimpleTemplateOperationSpec.groovy
def "Template URL must not be null"() { when: new SimpleTemplateOperation(null, new File("someFile"), [:]) then: def e = thrown(BuildInitException) e.message == "Template URL must not be null" } def "Target File must not be null"() { when: new SimpleTemplateOperation(new URL("file://some/file"), null, [:]) then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 13:47:19 UTC 2023 - 1.8K bytes - Viewed (0) -
platforms/software/build-init/src/main/java/org/gradle/buildinit/plugins/internal/TemplateOperationFactory.java
} wrappedBindings.put(entry.getKey(), new TemplateValue(entry.getValue())); } return new SimpleTemplateOperation(templateUrl, target, wrappedBindings); } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 13:47:19 UTC 2023 - 4.3K bytes - Viewed (0)