Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 67 for TextResource (0.96 sec)

  1. testing/architecture-test/src/changes/archunit-store/provider-text-resource.txt

    Method <org.gradle.api.plugins.quality.CodeNarc.getConfig()> has raw return type org.gradle.api.resources.TextResource in (CodeNarc.java:0)
    Method <org.gradle.api.plugins.quality.Pmd.getRuleSetConfig()> has raw return type org.gradle.api.resources.TextResource in (Pmd.java:0)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 05 08:43:33 UTC 2024
    - 567 bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/api/internal/resources/ApiTextResourceAdapter.java

        }
    
        @Override
        public String toString() {
            return getDisplayName();
        }
    
        private TextResource getWrappedTextResource() {
            if (textResource == null) {
                textResource = textUriResourceLoader.loadUri("textResource", uri);
            }
            return textResource;
        }
    
        public static class Factory {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 02 16:14:10 UTC 2021
    - 5K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/groovy/scripts/CachingScriptSource.java

     * limitations under the License.
     */
    package org.gradle.groovy.scripts;
    
    import org.gradle.internal.resource.CachingTextResource;
    import org.gradle.internal.resource.TextResource;
    
    public class CachingScriptSource extends DelegatingScriptSource {
        private final TextResource resource;
    
        public static ScriptSource of(ScriptSource source) {
            if (source.getResource().isContentCached()) {
                return source;
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  4. platforms/jvm/plugins-application/src/main/java/org/gradle/api/internal/plugins/DefaultTemplateBasedStartScriptGenerator.java

        private final Transformer<Map<String, String>, JavaAppStartScriptGenerationDetails> bindingFactory;
    
        private TextResource template;
    
        public DefaultTemplateBasedStartScriptGenerator(String lineSeparator, Transformer<Map<String, String>, JavaAppStartScriptGenerationDetails> bindingFactory, TextResource template) {
            this.lineSeparator = lineSeparator;
            this.bindingFactory = bindingFactory;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 20:20:16 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  5. platforms/software/reporting/src/main/java/org/gradle/api/reporting/internal/CustomizableHtmlReportImpl.java

    import org.gradle.api.Task;
    import org.gradle.api.reporting.CustomizableHtmlReport;
    import org.gradle.api.resources.TextResource;
    
    import javax.annotation.Nullable;
    
    public abstract class CustomizableHtmlReportImpl extends TaskGeneratedSingleFileReport implements CustomizableHtmlReport {
    
        private TextResource stylesheet;
    
        public CustomizableHtmlReportImpl(String name, Task task) {
            super(name, task);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  6. subprojects/core/src/test/groovy/org/gradle/groovy/scripts/CachingScriptSourceTest.groovy

     */
    
    package org.gradle.groovy.scripts
    
    import org.gradle.internal.resource.TextResource
    import spock.lang.Specification
    
    
    class CachingScriptSourceTest extends Specification {
        def "creates wrapper for script source when content is expensive to query"() {
            def scriptSource = Stub(ScriptSource)
            def resource = Stub(TextResource)
    
            scriptSource.resource >> resource
            resource.contentCached >> false
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 16 20:50:41 UTC 2016
    - 1.5K bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/groovy/scripts/TextResourceScriptSource.java

     */
    public class TextResourceScriptSource implements ScriptSource {
        private final TextResource resource;
        private String className;
    
        public TextResourceScriptSource(TextResource resource) {
            this.resource = resource;
        }
    
        @Override
        public TextResource getResource() {
            return resource;
        }
    
        @Override
        public String getFileName() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jul 07 10:24:10 UTC 2021
    - 3.6K bytes
    - Viewed (0)
  8. platforms/jvm/code-quality/src/main/groovy/org/gradle/api/plugins/quality/CodeNarcExtension.java

         *
         * @since 2.2
         */
        public TextResource getConfig() {
            return config;
        }
    
        /**
         * The CodeNarc configuration to use. Replaces the {@code configFile} property.
         *
         * @since 2.2
         */
        public void setConfig(TextResource config) {
            this.config = config;
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 21 12:23:38 UTC 2023
    - 4K bytes
    - Viewed (0)
  9. platforms/jvm/plugins-application/src/main/java/org/gradle/jvm/application/scripts/TemplateBasedScriptGenerator.java

         *
         * @param template Template text resource
         */
        void setTemplate(TextResource template);
    
        /**
         * Gets the template reader used for generating script.
         *
         * @return Template reader
         */
        TextResource getTemplate();
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 28 23:38:57 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  10. platforms/software/resources/src/main/java/org/gradle/internal/resource/CachingTextResource.java

    import java.nio.charset.Charset;
    
    public class CachingTextResource implements TextResource {
        private static final HashCode SIGNATURE = Hashing.signature(CachingTextResource.class);
        private final TextResource resource;
        private String content;
        private HashCode contentHash;
    
        public CachingTextResource(TextResource resource) {
            this.resource = resource;
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 3K bytes
    - Viewed (0)
Back to top