Java Code Examples for org.gradle.api.DomainObjectCollection#all()
The following examples show how to use
org.gradle.api.DomainObjectCollection#all() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: CompositeDomainObjectSet.java From pushfish-android with BSD 2-Clause "Simplified" License | 5 votes |
public CompositeDomainObjectSet<T> addCollection(DomainObjectCollection<? extends T> collection) { if (!getStore().getCollections().contains(collection)) { getStore().addComposited(collection); collection.all(getEventRegister().getAddAction()); collection.whenObjectRemoved(getEventRegister().getRemoveAction()); } return this; }
Example 2
Source File: CompositeDomainObjectSet.java From pushfish-android with BSD 2-Clause "Simplified" License | 5 votes |
public void addCollection(DomainObjectCollection<? extends T> collection) { if (!getStore().getCollections().contains(collection)) { getStore().addComposited(collection); collection.all(getEventRegister().getAddAction()); collection.whenObjectRemoved(getEventRegister().getRemoveAction()); } }
Example 3
Source File: CompositeDomainObjectSet.java From Pushjet-Android with BSD 2-Clause "Simplified" License | 5 votes |
public CompositeDomainObjectSet<T> addCollection(DomainObjectCollection<? extends T> collection) { if (!getStore().getCollections().contains(collection)) { getStore().addComposited(collection); collection.all(getEventRegister().getAddAction()); collection.whenObjectRemoved(getEventRegister().getRemoveAction()); } return this; }
Example 4
Source File: CompositeDomainObjectSet.java From Pushjet-Android with BSD 2-Clause "Simplified" License | 5 votes |
public void addCollection(DomainObjectCollection<? extends T> collection) { if (!getStore().getCollections().contains(collection)) { getStore().addComposited(collection); collection.all(getEventRegister().getAddAction()); collection.whenObjectRemoved(getEventRegister().getRemoveAction()); } }
Example 5
Source File: DefaultDomainObjectCollection.java From pushfish-android with BSD 2-Clause "Simplified" License | 4 votes |
public <S extends T> DomainObjectCollection<S> withType(Class<S> type, Action<? super S> configureAction) { DomainObjectCollection<S> result = withType(type); result.all(configureAction); return result; }
Example 6
Source File: DefaultDomainObjectCollection.java From pushfish-android with BSD 2-Clause "Simplified" License | 4 votes |
public <S extends T> DomainObjectCollection<S> withType(Class<S> type, Closure configureClosure) { DomainObjectCollection<S> result = withType(type); result.all(configureClosure); return result; }
Example 7
Source File: DefaultDomainObjectCollection.java From pushfish-android with BSD 2-Clause "Simplified" License | 4 votes |
public <S extends T> DomainObjectCollection<S> withType(Class<S> type, Action<? super S> configureAction) { DomainObjectCollection<S> result = withType(type); result.all(configureAction); return result; }
Example 8
Source File: DefaultDomainObjectCollection.java From pushfish-android with BSD 2-Clause "Simplified" License | 4 votes |
public <S extends T> DomainObjectCollection<S> withType(Class<S> type, Closure configureClosure) { DomainObjectCollection<S> result = withType(type); result.all(configureClosure); return result; }
Example 9
Source File: DefaultDomainObjectCollection.java From Pushjet-Android with BSD 2-Clause "Simplified" License | 4 votes |
public <S extends T> DomainObjectCollection<S> withType(Class<S> type, Action<? super S> configureAction) { DomainObjectCollection<S> result = withType(type); result.all(configureAction); return result; }
Example 10
Source File: DefaultDomainObjectCollection.java From Pushjet-Android with BSD 2-Clause "Simplified" License | 4 votes |
public <S extends T> DomainObjectCollection<S> withType(Class<S> type, Closure configureClosure) { DomainObjectCollection<S> result = withType(type); result.all(configureClosure); return result; }
Example 11
Source File: DefaultDomainObjectCollection.java From Pushjet-Android with BSD 2-Clause "Simplified" License | 4 votes |
public <S extends T> DomainObjectCollection<S> withType(Class<S> type, Action<? super S> configureAction) { DomainObjectCollection<S> result = withType(type); result.all(configureAction); return result; }
Example 12
Source File: DefaultDomainObjectCollection.java From Pushjet-Android with BSD 2-Clause "Simplified" License | 4 votes |
public <S extends T> DomainObjectCollection<S> withType(Class<S> type, Closure configureClosure) { DomainObjectCollection<S> result = withType(type); result.all(configureClosure); return result; }