public static enum SetupJenkinsJobs.ExistingItemsCreatedFileMode extends Enum<SetupJenkinsJobs.ExistingItemsCreatedFileMode>
| Enum Constant and Description |
|---|
IGNORE
Replace items created file, ignoring its current contents.
|
MERGE
Add new items, replace existing jobs.
|
REPLACE
Add new items, replace existing jobs, delete items (folders and jobs) which do
not exist anymore.
|
REPLACE_DELETE_FOLDER_ONLY_IF_EMPTY
Similar to
REPLACE, but folders which do not exist anymore are deleted
only if empty (after having deleted the jobs which do not exist anymore). |
REPLACE_NO_DELETE_FOLDER
Similar to
REPLACE, but folders are not deleted (only jobs). |
| Modifier and Type | Method and Description |
|---|---|
static SetupJenkinsJobs.ExistingItemsCreatedFileMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SetupJenkinsJobs.ExistingItemsCreatedFileMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SetupJenkinsJobs.ExistingItemsCreatedFileMode IGNORE
public static final SetupJenkinsJobs.ExistingItemsCreatedFileMode MERGE
public static final SetupJenkinsJobs.ExistingItemsCreatedFileMode REPLACE
This mode can be used to perform a complete cleanup of previously created items
by specifying an empty ReferenceGraph.
public static final SetupJenkinsJobs.ExistingItemsCreatedFileMode REPLACE_DELETE_FOLDER_ONLY_IF_EMPTY
REPLACE, but folders which do not exist anymore are deleted
only if empty (after having deleted the jobs which do not exist anymore).public static final SetupJenkinsJobs.ExistingItemsCreatedFileMode REPLACE_NO_DELETE_FOLDER
REPLACE, but folders are not deleted (only jobs).public static SetupJenkinsJobs.ExistingItemsCreatedFileMode[] values()
for (SetupJenkinsJobs.ExistingItemsCreatedFileMode c : SetupJenkinsJobs.ExistingItemsCreatedFileMode.values()) System.out.println(c);
public static SetupJenkinsJobs.ExistingItemsCreatedFileMode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2015–2016 AZYVA INC.. All rights reserved.