Class Dependencies
- java.lang.Object
-
- org.guvnor.common.services.project.model.Dependencies
-
- All Implemented Interfaces:
Iterable<Dependency>,Collection<Dependency>,List<Dependency>
@Portable public class Dependencies extends Object implements List<Dependency>
-
-
Constructor Summary
Constructors Constructor Description Dependencies()Dependencies(List<Dependency> dependencies)
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Methods inherited from interface java.util.List
equals, hashCode, replaceAll, sort, spliterator
-
-
-
-
Constructor Detail
-
Dependencies
public Dependencies()
-
Dependencies
public Dependencies(List<Dependency> dependencies)
-
-
Method Detail
-
containsDependency
public boolean containsDependency(GAV other)
-
get
public Dependency get(GAV gav)
-
getGavs
public Collection<GAV> getGavs(String... scopes)
-
getCompileScopedGavs
public Collection<GAV> getCompileScopedGavs()
-
size
public int size()
- Specified by:
sizein interfaceCollection<Dependency>- Specified by:
sizein interfaceList<Dependency>
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfaceCollection<Dependency>- Specified by:
isEmptyin interfaceList<Dependency>
-
contains
public boolean contains(Object o)
- Specified by:
containsin interfaceCollection<Dependency>- Specified by:
containsin interfaceList<Dependency>
-
iterator
public Iterator<Dependency> iterator()
- Specified by:
iteratorin interfaceCollection<Dependency>- Specified by:
iteratorin interfaceIterable<Dependency>- Specified by:
iteratorin interfaceList<Dependency>
-
toArray
public Object[] toArray()
- Specified by:
toArrayin interfaceCollection<Dependency>- Specified by:
toArrayin interfaceList<Dependency>
-
toArray
public <T> T[] toArray(T[] ts)
- Specified by:
toArrayin interfaceCollection<Dependency>- Specified by:
toArrayin interfaceList<Dependency>
-
add
public boolean add(Dependency dependency)
- Specified by:
addin interfaceCollection<Dependency>- Specified by:
addin interfaceList<Dependency>
-
remove
public boolean remove(Object o)
- Specified by:
removein interfaceCollection<Dependency>- Specified by:
removein interfaceList<Dependency>
-
containsAll
public boolean containsAll(Collection<?> collection)
- Specified by:
containsAllin interfaceCollection<Dependency>- Specified by:
containsAllin interfaceList<Dependency>
-
addAll
public boolean addAll(Collection<? extends Dependency> collection)
- Specified by:
addAllin interfaceCollection<Dependency>- Specified by:
addAllin interfaceList<Dependency>
-
addAll
public boolean addAll(int i, Collection<? extends Dependency> collection)- Specified by:
addAllin interfaceList<Dependency>
-
removeAll
public boolean removeAll(Collection<?> collection)
- Specified by:
removeAllin interfaceCollection<Dependency>- Specified by:
removeAllin interfaceList<Dependency>
-
retainAll
public boolean retainAll(Collection<?> collection)
- Specified by:
retainAllin interfaceCollection<Dependency>- Specified by:
retainAllin interfaceList<Dependency>
-
clear
public void clear()
- Specified by:
clearin interfaceCollection<Dependency>- Specified by:
clearin interfaceList<Dependency>
-
get
public Dependency get(int i)
- Specified by:
getin interfaceList<Dependency>
-
set
public Dependency set(int i, Dependency dependency)
- Specified by:
setin interfaceList<Dependency>
-
add
public void add(int i, Dependency dependency)- Specified by:
addin interfaceList<Dependency>
-
remove
public Dependency remove(int i)
- Specified by:
removein interfaceList<Dependency>
-
indexOf
public int indexOf(Object o)
- Specified by:
indexOfin interfaceList<Dependency>
-
lastIndexOf
public int lastIndexOf(Object o)
- Specified by:
lastIndexOfin interfaceList<Dependency>
-
listIterator
public ListIterator<Dependency> listIterator()
- Specified by:
listIteratorin interfaceList<Dependency>
-
listIterator
public ListIterator<Dependency> listIterator(int i)
- Specified by:
listIteratorin interfaceList<Dependency>
-
subList
public List<Dependency> subList(int i, int i1)
- Specified by:
subListin interfaceList<Dependency>
-
-