@Extension public final class InclusionsAndExclusions extends MultipleEntryFields<InclusionsAndExclusions.Entry>
Modifier and Type | Class and Description |
---|---|
static class |
InclusionsAndExclusions.Config
Inner class epresenting the configuration.
|
static class |
InclusionsAndExclusions.DescriptorImpl
Inner class representing the descriptor.
|
static class |
InclusionsAndExclusions.Entry
Inner class representing an abstract entry.
|
static class |
InclusionsAndExclusions.PMAExclusion
Inner class for PMA exclusions.
|
static class |
InclusionsAndExclusions.PMAInclusion
Concrete entry class.
|
class |
InclusionsAndExclusions.ScopeProgressViewRendering
Inner class representing progress rendering.
|
MultipleEntryFields.ProgressViewRendering
PerformanceBenchmarking.SourceFile
ExtensionPoint.LegacyInstancesAreScopedToHudson
zoweCmd
Constructor and Description |
---|
InclusionsAndExclusions() |
Modifier and Type | Method and Description |
---|---|
ProgressiveRendering |
entries()
This method returns the class instance that will handle the progress bar handler.
|
InclusionsAndExclusions.Config |
getConfig()
Get the configuration.
|
String |
getDescription()
Returns a paragraph of natural text that describes this sample.
|
String |
getDisplayName()
Get the display name.
|
List<InclusionsAndExclusions.Entry> |
getEntries()
Returns the list of entries.
|
protected String |
getFinalUpdatedMessage(boolean isUpdated,
String result,
InclusionsAndExclusions.Entry entry)
Returns the final message from a update of new entry action.
|
protected String |
getMainField(InclusionsAndExclusions.Entry entry)
Refers to an unique field that represents the entry, e.g.: a name or ID.
|
protected String |
getMainFieldLabel(InclusionsAndExclusions.Entry entry)
Refers to an unique label field that represents the entry, like a name or ID.
|
Collection<Callable<List<InclusionsAndExclusions.Entry>>> |
getProcesses()
Get the collection of the processes to retrieve the configuration on the start-up.
|
String |
getUrlName()
Gets the final URL name.
|
String |
getXMLFile()
Returns the XMLFile name to be stored in the jenkins_home.
|
protected String |
handleSingleDelete(EntryAction<InclusionsAndExclusions.Entry> entryAction)
Handles a single new delete entry after saving the configuration.
|
protected String |
handleSingleNewEntry(EntryAction<InclusionsAndExclusions.Entry> entryAction)
Handles a single new swipeable entry after saving the configuration.
|
protected String |
handleSingleUpdate(UpdateAction<InclusionsAndExclusions.Entry> entry)
Handles a single new update entry after saving the configuration.
|
protected boolean |
invalidEntries()
Evaluates whether the configuration has invalid entries.
|
protected boolean |
isSuccessful(String result)
Handles whether the output of the entry action is successful.
|
protected void |
postProcessEntries()
Post processes the entries after the action items.
|
void |
setConfig(InclusionsAndExclusions.Config config)
Set the configuration.
|
protected void |
setConfig(MultipleEntryFields<InclusionsAndExclusions.Entry> read)
Sets the configuration after the object modification.
|
List<InclusionsAndExclusions.Entry> |
setEntries(List<InclusionsAndExclusions.Entry> entries)
Set the list of entries.
|
doConfigSubmit, getConfigFile, getDifferentEntries, getModifiedEntries, getSourceFiles, processSingleEntry
all, doSourceFile, getDescriptor, getGroovySamples, getIconFileName, getOtherSamples
public String getDescription()
PerformanceBenchmarking
getDescription
in class PerformanceBenchmarking
public String getDisplayName()
getDisplayName
in interface Action
getDisplayName
in interface ModelObject
getDisplayName
in class PerformanceBenchmarking
public String getUrlName()
PerformanceBenchmarking
getUrlName
in interface Action
getUrlName
in class PerformanceBenchmarking
public String getXMLFile()
MultipleEntryFields
getXMLFile
in class MultipleEntryFields<InclusionsAndExclusions.Entry>
protected void setConfig(MultipleEntryFields<InclusionsAndExclusions.Entry> read)
MultipleEntryFields
setConfig
in class MultipleEntryFields<InclusionsAndExclusions.Entry>
read
- - the previous instance.protected boolean invalidEntries()
MultipleEntryFields
invalidEntries
in class MultipleEntryFields<InclusionsAndExclusions.Entry>
public List<InclusionsAndExclusions.Entry> getEntries()
MultipleEntryFields
getEntries
in class MultipleEntryFields<InclusionsAndExclusions.Entry>
protected void postProcessEntries()
MultipleEntryFields
postProcessEntries
in class MultipleEntryFields<InclusionsAndExclusions.Entry>
protected boolean isSuccessful(String result)
MultipleEntryFields
isSuccessful
in class MultipleEntryFields<InclusionsAndExclusions.Entry>
result
- - the result of the entry action, e.g.: the command output after saving the config file.protected String getFinalUpdatedMessage(boolean isUpdated, String result, InclusionsAndExclusions.Entry entry)
MultipleEntryFields
getFinalUpdatedMessage
in class MultipleEntryFields<InclusionsAndExclusions.Entry>
isUpdated
- - whether an update action occurred.result
- - action response, .e.g: the command outputentry
- - the generic type that represents the entryprotected String handleSingleNewEntry(EntryAction<InclusionsAndExclusions.Entry> entryAction)
MultipleEntryFields
handleSingleNewEntry
in class MultipleEntryFields<InclusionsAndExclusions.Entry>
entryAction
- - the generic type that corresponds the entry.protected String handleSingleUpdate(UpdateAction<InclusionsAndExclusions.Entry> entry)
MultipleEntryFields
handleSingleUpdate
in class MultipleEntryFields<InclusionsAndExclusions.Entry>
entry
- - the generic type that corresponds the entry.protected String handleSingleDelete(EntryAction<InclusionsAndExclusions.Entry> entryAction)
MultipleEntryFields
handleSingleDelete
in class MultipleEntryFields<InclusionsAndExclusions.Entry>
entryAction
- - the generic type that corresponds the entry.public ProgressiveRendering entries()
MultipleEntryFields
entries
in class MultipleEntryFields<InclusionsAndExclusions.Entry>
public List<InclusionsAndExclusions.Entry> setEntries(List<InclusionsAndExclusions.Entry> entries)
MultipleEntryFields
setEntries
in class MultipleEntryFields<InclusionsAndExclusions.Entry>
entries
- the list of entriesprotected String getMainFieldLabel(InclusionsAndExclusions.Entry entry)
MultipleEntryFields
getMainFieldLabel
in class MultipleEntryFields<InclusionsAndExclusions.Entry>
entry
- - the generic type that corresponds the entry.protected String getMainField(InclusionsAndExclusions.Entry entry)
MultipleEntryFields
getMainField
in class MultipleEntryFields<InclusionsAndExclusions.Entry>
entry
- - the generic type that corresponds the entry.public Collection<Callable<List<InclusionsAndExclusions.Entry>>> getProcesses()
MultipleEntryFields
getProcesses
in class MultipleEntryFields<InclusionsAndExclusions.Entry>
public InclusionsAndExclusions.Config getConfig()
public void setConfig(InclusionsAndExclusions.Config config)
config
- the configuration to set.Copyright © 2016–2022. All rights reserved.