public class TriggerUIConfigBean extends Object
Modifier and Type | Class and Description |
---|---|
static class |
TriggerUIConfigBean.TriggerSelector |
Modifier and Type | Field and Description |
---|---|
static String |
CTX_CHAIN |
static String |
CTX_DEPLOYMENT_PROJECT |
static String |
CTX_ENVIRONMENT |
static String |
CTX_TRIGGERABLE |
Constructor and Description |
---|
TriggerUIConfigBean(TriggerTypeManager triggerTypeManager,
DeploymentProjectService deploymentProjectService,
TemplateRenderer templateRenderer,
com.atlassian.struts.TextProvider textProvider) |
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
getTriggerConfigurationMap(TriggerModuleDescriptor triggerDescriptor,
TriggerDefinition previousTriggerDefinition) |
String |
prepareCreateHtml(TriggerModuleDescriptor triggerDescriptor,
TaskRenderMode renderMode,
DeploymentProject deploymentProject) |
String |
prepareCreateHtml(TriggerModuleDescriptor triggerDescriptor,
TaskRenderMode renderMode,
Triggerable triggerable) |
String |
prepareEditHtml(TriggerModuleDescriptor triggerDescriptor,
TriggerDefinition triggerDefinition,
TaskRenderMode renderMode,
Triggerable triggerable) |
String |
prepareViewHtml(TriggerModuleDescriptor triggerDescriptor,
TriggerDefinition triggerDefinition,
Triggerable triggerable) |
void |
validateTriggerConfiguration(TriggerModuleDescriptor triggerDescriptor,
ErrorCollection errorCollection) |
public static final String CTX_DEPLOYMENT_PROJECT
public static final String CTX_ENVIRONMENT
public static final String CTX_CHAIN
public static final String CTX_TRIGGERABLE
public TriggerUIConfigBean(TriggerTypeManager triggerTypeManager, DeploymentProjectService deploymentProjectService, TemplateRenderer templateRenderer, com.atlassian.struts.TextProvider textProvider)
@NotNull public String prepareCreateHtml(@NotNull TriggerModuleDescriptor triggerDescriptor, @NotNull TaskRenderMode renderMode, @Nullable Triggerable triggerable)
triggerDescriptor
- renderMode
- triggerable
- will be null when called during plan or environment creation@NotNull public String prepareCreateHtml(@NotNull TriggerModuleDescriptor triggerDescriptor, @NotNull TaskRenderMode renderMode, @NotNull DeploymentProject deploymentProject)
@NotNull public String prepareEditHtml(@NotNull TriggerModuleDescriptor triggerDescriptor, @NotNull TriggerDefinition triggerDefinition, @NotNull TaskRenderMode renderMode, @NotNull Triggerable triggerable)
@NotNull public String prepareViewHtml(@NotNull TriggerModuleDescriptor triggerDescriptor, @NotNull TriggerDefinition triggerDefinition, @Nullable Triggerable triggerable)
triggerDescriptor
- triggerDefinition
- triggerable
- is null when called from bulk actionspublic void validateTriggerConfiguration(@NotNull TriggerModuleDescriptor triggerDescriptor, @NotNull ErrorCollection errorCollection)
@NotNull public Map<String,String> getTriggerConfigurationMap(@NotNull TriggerModuleDescriptor triggerDescriptor, @Nullable TriggerDefinition previousTriggerDefinition)
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.