public abstract class AbstractGenerator extends Object implements ConfigurableGenerator
Modifier and Type | Class and Description |
---|---|
static class |
AbstractGenerator.Extender |
static class |
AbstractGenerator.Filter |
static class |
AbstractGenerator.Grouper |
static class |
AbstractGenerator.Inserter |
static class |
AbstractGenerator.Sorter |
StructureGenerator.ApplicabilityChecker, StructureGenerator.Context, StructureGenerator.EffectContext, StructureGenerator.GenerationContext, StructureGenerator.HandlingContext, StructureGenerator.ItemChangeFilterContext
Constructor and Description |
---|
AbstractGenerator() |
Modifier and Type | Method and Description |
---|---|
void |
addDefaultFormParameters(Map<String,Object> form) |
void |
addParametersForSummary(Map<String,Object> parameters,
Map<String,Object> summaryParameters) |
void |
addParametersToForm(Map<String,Object> parameters,
Map<String,Object> form) |
Map<String,Object> |
buildParametersFromForm(Map<String,Object> form,
com.atlassian.jira.util.ErrorCollection errors) |
List<GeneratorPreset> |
getPresets() |
boolean |
isAvailable() |
protected static Map<String,Object> |
mapOf(String key,
Object value) |
protected static Map<String,Object> |
mapOf(String key1,
Object value1,
String key2,
Object value2) |
public void addDefaultFormParameters(@NotNull Map<String,Object> form) throws GeneratorUnavailableException
addDefaultFormParameters
in interface StructureGenerator
GeneratorUnavailableException
public void addParametersToForm(@NotNull Map<String,Object> parameters, @NotNull Map<String,Object> form) throws GeneratorUnavailableException
addParametersToForm
in interface StructureGenerator
GeneratorUnavailableException
@NotNull public Map<String,Object> buildParametersFromForm(@NotNull Map<String,Object> form, @NotNull com.atlassian.jira.util.ErrorCollection errors) throws GeneratorUnavailableException
buildParametersFromForm
in interface StructureGenerator
GeneratorUnavailableException
public void addParametersForSummary(@NotNull Map<String,Object> parameters, @NotNull Map<String,Object> summaryParameters)
addParametersForSummary
in interface StructureGenerator
protected static Map<String,Object> mapOf(String key1, Object value1, String key2, Object value2)
@Nullable public List<GeneratorPreset> getPresets()
getPresets
in interface ConfigurableGenerator
public boolean isAvailable()
isAvailable
in interface StructureGenerator
Copyright © 2019 ALM Works. All Rights Reserved.