Class TriggerUIConfigBean
java.lang.Object
com.atlassian.bamboo.ww2.actions.chains.admin.triggers.TriggerUIConfigBean
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
ConstructorDescriptionTriggerUIConfigBean
(TriggerTypeManager triggerTypeManager, DeploymentProjectService deploymentProjectService, TemplateRenderer templateRenderer, com.atlassian.struts.TextProvider textProvider) -
Method Summary
Modifier and TypeMethodDescriptiongetTriggerConfigurationMap
(@NotNull TriggerModuleDescriptor triggerDescriptor, @Nullable TriggerDefinition previousTriggerDefinition) @NotNull String
prepareCreateHtml
(@NotNull TriggerModuleDescriptor triggerDescriptor, @NotNull TaskRenderMode renderMode, @NotNull DeploymentProject deploymentProject) @NotNull String
prepareCreateHtml
(@NotNull TriggerModuleDescriptor triggerDescriptor, @NotNull TaskRenderMode renderMode, @Nullable Triggerable triggerable) @NotNull String
prepareEditHtml
(@NotNull TriggerModuleDescriptor triggerDescriptor, @NotNull TriggerDefinition triggerDefinition, @NotNull TaskRenderMode renderMode, @NotNull Triggerable triggerable) @NotNull String
prepareViewHtml
(@NotNull TriggerModuleDescriptor triggerDescriptor, @NotNull TriggerDefinition triggerDefinition, @Nullable Triggerable triggerable) void
validateTriggerConfiguration
(@NotNull TriggerModuleDescriptor triggerDescriptor, @NotNull ErrorCollection errorCollection)
-
Field Details
-
CTX_DEPLOYMENT_PROJECT
- See Also:
-
CTX_ENVIRONMENT
- See Also:
-
CTX_CHAIN
- See Also:
-
CTX_TRIGGERABLE
- See Also:
-
-
Constructor Details
-
TriggerUIConfigBean
public TriggerUIConfigBean(TriggerTypeManager triggerTypeManager, DeploymentProjectService deploymentProjectService, TemplateRenderer templateRenderer, com.atlassian.struts.TextProvider textProvider)
-
-
Method Details
-
prepareCreateHtml
@NotNull public @NotNull String prepareCreateHtml(@NotNull @NotNull TriggerModuleDescriptor triggerDescriptor, @NotNull @NotNull TaskRenderMode renderMode, @Nullable @Nullable Triggerable triggerable) - Parameters:
triggerDescriptor
-renderMode
-triggerable
- will be null when called during plan or environment creation- Returns:
-
prepareCreateHtml
@NotNull public @NotNull String prepareCreateHtml(@NotNull @NotNull TriggerModuleDescriptor triggerDescriptor, @NotNull @NotNull TaskRenderMode renderMode, @NotNull @NotNull DeploymentProject deploymentProject) -
prepareEditHtml
@NotNull public @NotNull String prepareEditHtml(@NotNull @NotNull TriggerModuleDescriptor triggerDescriptor, @NotNull @NotNull TriggerDefinition triggerDefinition, @NotNull @NotNull TaskRenderMode renderMode, @NotNull @NotNull Triggerable triggerable) -
prepareViewHtml
@NotNull public @NotNull String prepareViewHtml(@NotNull @NotNull TriggerModuleDescriptor triggerDescriptor, @NotNull @NotNull TriggerDefinition triggerDefinition, @Nullable @Nullable Triggerable triggerable) - Parameters:
triggerDescriptor
-triggerDefinition
-triggerable
- is null when called from bulk actions- Returns:
-
validateTriggerConfiguration
public void validateTriggerConfiguration(@NotNull @NotNull TriggerModuleDescriptor triggerDescriptor, @NotNull @NotNull ErrorCollection errorCollection) -
getTriggerConfigurationMap
@NotNull public @NotNull Map<String,String> getTriggerConfigurationMap(@NotNull @NotNull TriggerModuleDescriptor triggerDescriptor, @Nullable @Nullable TriggerDefinition previousTriggerDefinition)
-