public interface Scripts extends DocumentWorkerObject, Iterable<Script>
| Modifier and Type | Method and Description |
|---|---|
Script |
add()
Creates a new uninitialized customization script and appends it to the end of this list.
|
Script |
add(int index)
Creates a new uninitialized customization script and inserts it at the specified position in this list.
|
Script |
get(int index)
Retrieves the script at the specified position in this list.
|
Task |
getTask()
Returns the task that this list of scripts is associated with.
|
boolean |
isEmpty()
Returns true if there are no scripts in this list.
|
int |
size()
Returns the number of scripts in this list.
|
Stream<Script> |
stream()
Returns a sequential
Stream with this list of scripts as its source. |
void |
uninstallAll()
Uninstalls all of the scripts in this list.
|
getApplicationforEach, iterator, spliterator@Nonnull Script add()
@Nonnull Script add(int index)
index - index at which the newly created script is to be inserted@Nonnull Script get(int index)
index - index of the script to returnIndexOutOfBoundsException - if the index is out of range (index < 0 || index >= size())@Nonnull Task getTask()
boolean isEmpty()
int size()
@Nonnull Stream<Script> stream()
Stream with this list of scripts as its source.Stream over the list of scriptsvoid uninstallAll()
This is equivalent to calling uninstall() for each of the scripts in the list.
Copyright © 2016–2022 EntIT Software LLC, a Micro Focus company. All rights reserved.