Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for init (0.48 sec)

  1. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/AbstractProperty.java

        public AbstractProperty(PropertyHost host) {
            state = ValueState.newState(host);
        }
    
        protected void init(S initialValue, S convention) {
            this.value = initialValue;
            this.state.setConvention(convention);
        }
    
        protected void init(S initialValue) {
            init(initialValue, initialValue);
        }
    
        @Override
        public boolean isFinalized() {
            return state.isFinalized();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:54 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/AbstractCollectionProperty.java

            this.collectionFactory = collectionFactory;
            valueCollector = new ValidatingValueCollector<>(collectionType, elementType, ValueSanitizers.forType(elementType));
            init();
        }
    
        private void init() {
            defaultValue = emptySupplier();
            init(defaultValue, noValueSupplier());
        }
    
        @Override
        protected CollectionSupplier<T, C> getDefaultValue() {
            return defaultValue;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/DefaultMapProperty.java

            entryCollector = new ValidatingMapEntryCollector<>(keyType, valueType, ValueSanitizers.forType(keyType), ValueSanitizers.forType(valueType));
            init();
        }
    
        private void init() {
            defaultValue = emptySupplier();
            init(defaultValue, noValueSupplier());
        }
    
        @Override
        public MapSupplier<K, V> getDefaultValue() {
            return defaultValue;
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 05:33:15 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  4. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/collections/DefaultConfigurableFileCollection.java

            this.host = host;
            this.valueState = ValueState.newState(host, ValueCollector::isolated);
            init(EMPTY_COLLECTOR, EMPTY_COLLECTOR);
            filesWrapper = new PathSet();
            buildDependency = dependencyFactory.configurableDependency();
        }
    
        private void init(ValueCollector initialValue, ValueCollector convention) {
            this.valueState.setConvention(convention);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 16:06:55 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  5. platforms/core-execution/workers/src/main/java/org/gradle/workers/internal/WorkerDaemonClientsManager.java

        private void stopWorkers(List<WorkerDaemonClient> clientsToStop, Consumer<WorkerDaemonClient> stopAction) {
            if (clientsToStop.size() > 0) {
                int clientCount = clientsToStop.size();
                LOGGER.debug("Stopping {} worker daemon(s).", clientCount);
                int failureCount = 0;
                for (WorkerDaemonClient client : clientsToStop) {
                    try {
                        if (client.isFailed()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 19:54:37 UTC 2024
    - 10K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/inspect/ModelRuleExtractor.java

                validateNonRuleMethod(method, context);
                return null;
            }
        }
    
        private void validateClass(Class<?> source, RuleSourceValidationProblemCollector problems) {
            int modifiers = source.getModifiers();
    
            if (Modifier.isInterface(modifiers)) {
                problems.add("Must be a class, not an interface");
            }
    
            if (source.getEnclosingClass() != null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 13:45:02 UTC 2024
    - 26K bytes
    - Viewed (0)
  7. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/DefaultFilePropertyFactory.java

                return Directory.class;
            }
    
            @Override
            public Object unpackState() {
                return getAsFile();
            }
    
            @Override
            public int getFactoryId() {
                return ManagedFactories.DirectoryManagedFactory.FACTORY_ID;
            }
    
            @Override
            public Directory dir(String path) {
                File newDir = fileResolver.resolve(path);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 09:53:33 UTC 2024
    - 15.3K bytes
    - Viewed (0)
Back to top