|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.bamboo.task.AbstractTaskConfigurator
com.atlassian.bamboo.plugins.grails.GrailsTaskConfigurator
public class GrailsTaskConfigurator
| Field Summary | |
|---|---|
static java.lang.String |
CFG_GOALS
|
static java.lang.String |
CFG_TEST_RESULTS_FILE_PATTERN_OPTION_CUSTOM
|
static java.lang.String |
CFG_TEST_RESULTS_FILE_PATTERN_OPTION_STANDARD
|
static java.lang.String |
GRAILS_CAPABILITY_PREFIX
|
| Fields inherited from class com.atlassian.bamboo.task.AbstractTaskConfigurator |
|---|
taskConfiguratorHelper |
| Constructor Summary | |
|---|---|
GrailsTaskConfigurator()
|
|
| Method Summary | |
|---|---|
java.util.Set<Requirement> |
calculateRequirements(TaskDefinition taskDefinition)
Populates the RequirementSet needed based off of the TaskDefinition |
java.util.Map<java.lang.String,java.lang.String> |
generateTaskConfigMap(ActionParametersMap params,
TaskDefinition previousTaskDefinition)
Convert the params from the ui into a config map to be stored in the database for the taskDefinition. |
void |
populateContextForCreate(java.util.Map<java.lang.String,java.lang.Object> context)
Provide any required context to be used when rendering the freemarker template for creating a task definition. |
void |
populateContextForEdit(java.util.Map<java.lang.String,java.lang.Object> context,
TaskDefinition taskDefinition)
Provide any required context to be used when rendering the freemarker template for view editing a task definition |
void |
populateContextForView(java.util.Map<java.lang.String,java.lang.Object> context,
TaskDefinition taskDefinition)
Provide any required context to be used when rendering the freemarker template for viewing a task definition |
void |
setTextProvider(com.opensymphony.xwork.TextProvider textProvider)
|
void |
setUiConfigBean(UIConfigBean uiConfigBean)
|
boolean |
taskProducesTestResults(TaskDefinition taskDefinition)
Returns true iff task defined by TaskDefinition produces test results. |
void |
validate(ActionParametersMap params,
ErrorCollection errorCollection)
Validate the params submitted from the UI for this task definition |
| Methods inherited from class com.atlassian.bamboo.task.AbstractTaskConfigurator |
|---|
setTaskConfiguratorHelper |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String GRAILS_CAPABILITY_PREFIX
public static final java.lang.String CFG_GOALS
public static final java.lang.String CFG_TEST_RESULTS_FILE_PATTERN_OPTION_CUSTOM
public static final java.lang.String CFG_TEST_RESULTS_FILE_PATTERN_OPTION_STANDARD
| Constructor Detail |
|---|
public GrailsTaskConfigurator()
| Method Detail |
|---|
@NotNull
public java.util.Set<Requirement> calculateRequirements(@NotNull
TaskDefinition taskDefinition)
TaskRequirementSupportRequirementSet needed based off of the TaskDefinition
calculateRequirements in interface TaskRequirementSupport
public void validate(@NotNull
ActionParametersMap params,
@NotNull
ErrorCollection errorCollection)
TaskConfigurator
validate in interface TaskConfiguratorvalidate in class AbstractTaskConfiguratorparams - - request paramaterserrorCollection - - collection to put any errors in.
@NotNull
public java.util.Map<java.lang.String,java.lang.String> generateTaskConfigMap(@NotNull
ActionParametersMap params,
@Nullable
TaskDefinition previousTaskDefinition)
TaskConfigurator
generateTaskConfigMap in interface TaskConfiguratorgenerateTaskConfigMap in class AbstractTaskConfiguratorparams - - request paramaterspreviousTaskDefinition - - the previous immutable TaskDefinition before saving or null if Task is being created
public void populateContextForEdit(@NotNull
java.util.Map<java.lang.String,java.lang.Object> context,
@NotNull
TaskDefinition taskDefinition)
TaskConfigurator
populateContextForEdit in interface TaskConfiguratorpopulateContextForEdit in class AbstractTaskConfiguratorcontext - map to put your context in.taskDefinition - existing task definition
public void populateContextForView(@NotNull
java.util.Map<java.lang.String,java.lang.Object> context,
@NotNull
TaskDefinition taskDefinition)
TaskConfigurator
populateContextForView in interface TaskConfiguratorpopulateContextForView in class AbstractTaskConfiguratorcontext - map to put your context in.taskDefinition - existing task definition
public void populateContextForCreate(@NotNull
java.util.Map<java.lang.String,java.lang.Object> context)
TaskConfigurator
populateContextForCreate in interface TaskConfiguratorpopulateContextForCreate in class AbstractTaskConfiguratorcontext - map to put your context in.
public boolean taskProducesTestResults(@NotNull
TaskDefinition taskDefinition)
TaskTestResultsSupport
taskProducesTestResults in interface TaskTestResultsSupportpublic void setTextProvider(com.opensymphony.xwork.TextProvider textProvider)
public void setUiConfigBean(UIConfigBean uiConfigBean)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||