Class JvmTargetContainer

java.lang.Object
java.util.AbstractCollection<T>
org.gradle.api.internal.DefaultDomainObjectCollection<T>
org.gradle.api.internal.DefaultNamedDomainObjectCollection<T>
org.gradle.api.internal.DefaultNamedDomainObjectSet<JvmTarget>
org.gradle.api.experimental.jvm.JvmTargetContainer
All Implemented Interfaces:
Iterable<JvmTarget>, Collection<JvmTarget>, Set<JvmTarget>, org.gradle.api.DomainObjectCollection<JvmTarget>, org.gradle.api.DomainObjectSet<JvmTarget>, org.gradle.api.internal.WithEstimatedSize, org.gradle.api.internal.WithMutationGuard, org.gradle.api.NamedDomainObjectCollection<JvmTarget>, org.gradle.api.NamedDomainObjectSet<JvmTarget>, org.gradle.internal.metaobject.MethodMixIn, org.gradle.internal.metaobject.PropertyMixIn

public class JvmTargetContainer extends org.gradle.api.internal.DefaultNamedDomainObjectSet<JvmTarget>
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.gradle.api.internal.DefaultNamedDomainObjectCollection

    org.gradle.api.internal.DefaultNamedDomainObjectCollection.AbstractDomainObjectCreatingProvider<I extends T>, org.gradle.api.internal.DefaultNamedDomainObjectCollection.AbstractNamedDomainObjectProvider<I extends T>, org.gradle.api.internal.DefaultNamedDomainObjectCollection.ElementInfo<T extends Object>, org.gradle.api.internal.DefaultNamedDomainObjectCollection.ExistingNamedDomainObjectProvider<I extends T>, org.gradle.api.internal.DefaultNamedDomainObjectCollection.Index<T extends Object>, org.gradle.api.internal.DefaultNamedDomainObjectCollection.UnfilteredIndex<T extends Object>

    Nested classes/interfaces inherited from class org.gradle.api.internal.DefaultDomainObjectCollection

    org.gradle.api.internal.DefaultDomainObjectCollection.IteratorImpl

    Nested classes/interfaces inherited from interface org.gradle.api.internal.WithEstimatedSize

    org.gradle.api.internal.WithEstimatedSize.Estimates
  • Field Summary

    Fields inherited from class org.gradle.api.internal.DefaultNamedDomainObjectCollection

    index
  • Constructor Summary

    Constructors
    Constructor
    Description
    JvmTargetContainer(org.gradle.internal.reflect.Instantiator instantiator, org.gradle.internal.instantiation.InstantiatorFactory instantiatorFactory, org.gradle.internal.service.ServiceRegistry serviceRegistry, org.gradle.api.internal.CollectionCallbackActionDecorator callbackDecorator)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    java(int version)
     
    java(int version, org.gradle.api.Action<? super JvmTarget> action)
     

    Methods inherited from class org.gradle.api.internal.DefaultNamedDomainObjectSet

    filtered, filtered, findAll, getDisplayName, matching, matching, named, withMutationDisabled, withType

    Methods inherited from class org.gradle.api.internal.DefaultNamedDomainObjectCollection

    addAll, addLater, addRule, addRule, addRule, assertCanAdd, assertCanAdd, clear, convertNameToElementFilter, createExistingProvider, createNotFoundException, createWrongTypeException, deferredElementKnown, didAdd, didRemove, didRemove, doAdd, findByName, findByNameLaterWithoutRules, findByNameWithoutRules, getAdditionalMethods, getAdditionalProperties, getAsMap, getAt, getByName, getByName, getByName, getCollectionSchema, getElementsAsDynamicObject, getInstantiator, getNamer, getNames, getRules, getTypeDisplayName, handleAttemptToAddItemWithNonUniqueName, hasWithName, index, named, named, named, named, realized, removeByName, toString, whenElementKnown

    Methods inherited from class org.gradle.api.internal.DefaultDomainObjectCollection

    add, add, addAllLater, all, all, assertMutable, assertMutableCollectionContents, configureEach, contains, containsAll, createFilter, createFilter, estimatedSize, filteredEvents, filteredStore, filteredStore, findAll, getEventRegister, getMutationGuard, getStore, getType, isEmpty, iterator, remove, removeAll, retainAll, size, whenObjectAdded, whenObjectAdded, whenObjectRemoved, whenObjectRemoved, withType, withType

    Methods inherited from class java.util.AbstractCollection

    toArray, toArray

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface java.util.Collection

    parallelStream, removeIf, stream, toArray

    Methods inherited from interface org.gradle.api.DomainObjectCollection

    addAllLater, addLater, all, all, configureEach, whenObjectAdded, whenObjectAdded, whenObjectRemoved, whenObjectRemoved, withType, withType

    Methods inherited from interface java.lang.Iterable

    forEach

    Methods inherited from interface org.gradle.api.NamedDomainObjectCollection

    add, addAll, addRule, addRule, addRule, findByName, getAsMap, getAt, getByName, getByName, getByName, getCollectionSchema, getNamer, getNames, getRules, named, named, named, named
  • Constructor Details

    • JvmTargetContainer

      @Inject public JvmTargetContainer(org.gradle.internal.reflect.Instantiator instantiator, org.gradle.internal.instantiation.InstantiatorFactory instantiatorFactory, org.gradle.internal.service.ServiceRegistry serviceRegistry, org.gradle.api.internal.CollectionCallbackActionDecorator callbackDecorator)
  • Method Details

    • java

      public JvmTarget java(int version)
    • java

      public JvmTarget java(int version, org.gradle.api.Action<? super JvmTarget> action)