Class ResourceChangeListImpl
java.lang.Object
org.apache.sling.resourceresolver.impl.observation.ResourceChangeListImpl
- All Implemented Interfaces:
Iterable<ResourceChange>
,Collection<ResourceChange>
,List<ResourceChange>
,ResourceChangeList
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(int index, ResourceChange element) boolean
boolean
addAll
(int index, Collection<? extends ResourceChange> c) boolean
addAll
(Collection<? extends ResourceChange> c) void
clear()
boolean
boolean
containsAll
(Collection<?> c) get
(int index) String[]
Returns the search path used by the resource resolving.int
boolean
isEmpty()
iterator()
int
listIterator
(int index) void
lock()
remove
(int index) boolean
boolean
removeAll
(Collection<?> c) boolean
retainAll
(Collection<?> c) set
(int index, ResourceChange element) int
size()
subList
(int fromIndex, int toIndex) Object[]
toArray()
<T> T[]
toArray
(T[] a) toString()
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 java.util.List
equals, hashCode, replaceAll, sort, spliterator
-
Constructor Details
-
ResourceChangeListImpl
-
-
Method Details
-
lock
public void lock() -
size
public int size()- Specified by:
size
in interfaceCollection<ResourceChange>
- Specified by:
size
in interfaceList<ResourceChange>
-
isEmpty
public boolean isEmpty()- Specified by:
isEmpty
in interfaceCollection<ResourceChange>
- Specified by:
isEmpty
in interfaceList<ResourceChange>
-
contains
- Specified by:
contains
in interfaceCollection<ResourceChange>
- Specified by:
contains
in interfaceList<ResourceChange>
-
iterator
- Specified by:
iterator
in interfaceCollection<ResourceChange>
- Specified by:
iterator
in interfaceIterable<ResourceChange>
- Specified by:
iterator
in interfaceList<ResourceChange>
-
toArray
- Specified by:
toArray
in interfaceCollection<ResourceChange>
- Specified by:
toArray
in interfaceList<ResourceChange>
-
toArray
public <T> T[] toArray(T[] a) - Specified by:
toArray
in interfaceCollection<ResourceChange>
- Specified by:
toArray
in interfaceList<ResourceChange>
-
add
- Specified by:
add
in interfaceCollection<ResourceChange>
- Specified by:
add
in interfaceList<ResourceChange>
-
remove
- Specified by:
remove
in interfaceCollection<ResourceChange>
- Specified by:
remove
in interfaceList<ResourceChange>
-
containsAll
- Specified by:
containsAll
in interfaceCollection<ResourceChange>
- Specified by:
containsAll
in interfaceList<ResourceChange>
-
addAll
- Specified by:
addAll
in interfaceCollection<ResourceChange>
- Specified by:
addAll
in interfaceList<ResourceChange>
-
addAll
- Specified by:
addAll
in interfaceList<ResourceChange>
-
removeAll
- Specified by:
removeAll
in interfaceCollection<ResourceChange>
- Specified by:
removeAll
in interfaceList<ResourceChange>
-
retainAll
- Specified by:
retainAll
in interfaceCollection<ResourceChange>
- Specified by:
retainAll
in interfaceList<ResourceChange>
-
clear
public void clear()- Specified by:
clear
in interfaceCollection<ResourceChange>
- Specified by:
clear
in interfaceList<ResourceChange>
-
get
- Specified by:
get
in interfaceList<ResourceChange>
-
set
- Specified by:
set
in interfaceList<ResourceChange>
-
add
- Specified by:
add
in interfaceList<ResourceChange>
-
remove
- Specified by:
remove
in interfaceList<ResourceChange>
-
indexOf
- Specified by:
indexOf
in interfaceList<ResourceChange>
-
lastIndexOf
- Specified by:
lastIndexOf
in interfaceList<ResourceChange>
-
listIterator
- Specified by:
listIterator
in interfaceList<ResourceChange>
-
listIterator
- Specified by:
listIterator
in interfaceList<ResourceChange>
-
subList
- Specified by:
subList
in interfaceList<ResourceChange>
-
getSearchPath
Description copied from interface:ResourceChangeList
Returns the search path used by the resource resolving.Each entry in the array is an absolute path terminated with a slash character. Thus to create an absolute path from a search path entry and a relative path, the search path entry and relative path may just be concatenated.
- Specified by:
getSearchPath
in interfaceResourceChangeList
- Returns:
- The array of search paths
- See Also:
-
toString
-