Class CollectionNode<T extends Node>
java.lang.Object
cd.go.contrib.plugins.configrepo.groovy.dsl.Node<T>
cd.go.contrib.plugins.configrepo.groovy.dsl.CollectionNode<T>
- All Implemented Interfaces:
Configurable
,KeyVal.Mixin
,UtilsMixin
,Iterable<T>
,Collection<T>
,List<T>
- Direct Known Subclasses:
Artifacts
,Environments
,Jobs
,Materials
,Pipelines
,Properties
,Stages
,Tabs
,Tasks
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
boolean
boolean
addAll
(int index, Collection<? extends T> c) boolean
addAll
(Collection<? extends T> c) void
clear()
boolean
boolean
containsAll
(Collection<?> c) boolean
get
(int index) getNames()
int
hashCode()
int
boolean
isEmpty()
iterator()
int
listIterator
(int index) remove
(int index) boolean
boolean
removeAll
(Collection<?> c) boolean
retainAll
(Collection<?> c) int
size()
subList
(int fromIndex, int toIndex) Object[]
toArray()
<T1> T1[]
toArray
(T1[] a) toString()
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
Methods inherited from interface cd.go.contrib.plugins.configrepo.groovy.dsl.mixins.Configurable
configure
Methods inherited from interface cd.go.contrib.plugins.configrepo.groovy.dsl.mixins.KeyVal.Mixin
lookup, lookup
Methods inherited from interface java.util.List
replaceAll, sort, spliterator
Methods inherited from interface cd.go.contrib.plugins.configrepo.groovy.dsl.mixins.UtilsMixin
sanitizeName
-
Constructor Details
-
CollectionNode
public CollectionNode()
-
-
Method Details
-
create
-
getNames
-
size
public int size() -
isEmpty
public boolean isEmpty() -
contains
-
iterator
-
toArray
-
toArray
public <T1> T1[] toArray(T1[] a) -
add
-
remove
-
containsAll
- Specified by:
containsAll
in interfaceCollection<T extends Node>
- Specified by:
containsAll
in interfaceList<T extends Node>
-
addAll
-
addAll
-
removeAll
-
retainAll
-
clear
public void clear() -
get
-
set
-
add
-
remove
-
indexOf
-
lastIndexOf
- Specified by:
lastIndexOf
in interfaceList<T extends Node>
-
listIterator
- Specified by:
listIterator
in interfaceList<T extends Node>
-
listIterator
- Specified by:
listIterator
in interfaceList<T extends Node>
-
subList
-
equals
-
hashCode
public int hashCode() -
toString
-