|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.bamboo.command.Command
com.atlassian.bamboo.builder.AbstractBuilder
com.atlassian.bamboo.plugins.grails.GrailsBuilder
@Deprecated public class GrailsBuilder
| Field Summary |
|---|
| Fields inherited from class com.atlassian.bamboo.command.Command |
|---|
buildLoggerManager |
| Fields inherited from interface com.atlassian.bamboo.builder.Builder |
|---|
CAPABILITY_BUILDER_PREFIX, CAPABILITY_BUILDER_TYPE |
| Constructor Summary | |
|---|---|
GrailsBuilder()
Deprecated. |
|
| Method Summary | |
|---|---|
void |
addAdditionalCommand(java.lang.String command)
Deprecated. Prepends a command to run before user defined commands |
java.util.Map<java.lang.String,LabelPathMap> |
addDefaultLabelPathMaps(java.util.Map<java.lang.String,LabelPathMap> labelPathMaps)
Deprecated. |
void |
addDefaultValues(BuildConfiguration configuration)
Deprecated. Extension point for adding default values to the form for RenderableBuildConfiguration.getEditHtml(com.atlassian.bamboo.ww2.actions.build.admin.create.BuildConfiguration, com.atlassian.bamboo.plan.Plan) |
void |
executeBuild(BuildContext buildContext,
ReadOnlyCapabilitySet capabilitySet)
Deprecated. Runs the build, and updates the build results in the build context. |
java.util.Collection<java.lang.String> |
getAdditionalCommands()
Deprecated. |
java.lang.String[] |
getCommandArguments(ReadOnlyCapabilitySet readOnlyCapabilitySet)
Deprecated. What are the arguments for the command line to execute Variable substitution is not required for the arguments, substitution will be performed later. |
java.lang.String |
getCommandExecutable(ReadOnlyCapabilitySet capabilitySet)
Deprecated. What is the executable for the command line to execute. |
protected java.lang.String[] |
getCustomEnvironmentVars(ReadOnlyCapabilitySet capabilitySet)
Deprecated. |
protected java.lang.String |
getDefaultTestReportsDirectory()
Deprecated. |
protected java.lang.String |
getExecutableFileName()
Deprecated. |
java.util.Map<java.lang.String,java.lang.String> |
getFullParams()
Deprecated. Gets the full params that's used to persist. |
java.lang.String |
getGoal()
Deprecated. |
java.lang.String |
getName()
Deprecated. Returns a human readable version of the current Builder type |
protected java.util.Map |
getTemplateContext()
Deprecated. |
java.lang.String |
getTestDirectory()
Deprecated. |
boolean |
isPathValid(java.lang.String homeDirectory)
Deprecated. Returns true if the passed path is valid for this builder. |
CurrentBuildResult |
runBuild(BuildContext buildContext,
ReadOnlyCapabilitySet capabilitySet)
Deprecated. |
void |
setCustomVariableContext(CustomVariableContext customVariableContext)
Deprecated. |
void |
setGoal(java.lang.String goal)
Deprecated. |
void |
setParams(FilteredMap filteredBuilderParams)
Deprecated. Updates the current builder object with |
void |
setTestDirectory(java.lang.String testDirectory)
Deprecated. |
void |
setTextProvider(com.opensymphony.xwork.TextProvider textProvider)
Deprecated. |
ErrorCollection |
validate(BuildConfiguration buildConfiguration)
Deprecated. Validates the properties in the BuildConfiguration object. |
protected ErrorCollection |
validate(FilteredMap<java.lang.String> filteredParams)
Deprecated. |
| Methods inherited from class com.atlassian.bamboo.command.Command |
|---|
decorateCommandLine, executeCommand, getBuildLoggerManager, getCommandLine, getEnvironmentSetting, getSubstitutedCommandLine, isWindowsPlatform, setBuildLoggerManager, setPluginAccessor |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public GrailsBuilder()
| Method Detail |
|---|
public void executeBuild(@NotNull
BuildContext buildContext,
ReadOnlyCapabilitySet capabilitySet)
throws java.lang.InterruptedException,
RepositoryException
BuilderV2
executeBuild in interface BuilderV2executeBuild in class AbstractBuilderjava.lang.InterruptedException
RepositoryException
public CurrentBuildResult runBuild(@NotNull
BuildContext buildContext,
@NotNull
ReadOnlyCapabilitySet capabilitySet)
throws java.lang.InterruptedException
runBuild in class AbstractBuilderjava.lang.InterruptedExceptionpublic void addAdditionalCommand(java.lang.String command)
command - public java.util.Collection<java.lang.String> getAdditionalCommands()
protected ErrorCollection validate(FilteredMap<java.lang.String> filteredParams)
validate in class AbstractBuilder@NotNull public java.lang.String getName()
Builder
public void setParams(@NotNull
FilteredMap filteredBuilderParams)
Builder
setParams in interface BuildersetParams in class AbstractBuilderfilteredBuilderParams - - Filtered Map with the prefix builder key stripped outpublic void setGoal(java.lang.String goal)
public java.lang.String getGoal()
public void setTestDirectory(java.lang.String testDirectory)
public java.lang.String getTestDirectory()
protected java.util.Map getTemplateContext()
getTemplateContext in class AbstractBuilderpublic java.util.Map<java.lang.String,LabelPathMap> addDefaultLabelPathMaps(java.util.Map<java.lang.String,LabelPathMap> labelPathMaps)
public boolean isPathValid(java.lang.String homeDirectory)
Builder
public void addDefaultValues(@NotNull
BuildConfiguration configuration)
BuildConfigurationAwarePluginRenderableBuildConfiguration.getEditHtml(com.atlassian.bamboo.ww2.actions.build.admin.create.BuildConfiguration, com.atlassian.bamboo.plan.Plan)
configuration - - @NotNull
@NotNull
public ErrorCollection validate(@NotNull
BuildConfiguration buildConfiguration)
BuildConfigurationAwarePluginBuildConfiguration object. The name of the properties match those passed
in through the form fragments in RenderableBuildConfiguration.getEditHtml(com.atlassian.bamboo.ww2.actions.build.admin.create.BuildConfiguration, com.atlassian.bamboo.plan.Plan) template.
buildConfiguration - - @NotNull
ErrorCollection keyed by the field name. @NotNull@NotNull public java.util.Map<java.lang.String,java.lang.String> getFullParams()
Builder
getFullParams in interface BuildergetFullParams in class AbstractBuilder@NotNull public java.lang.String getCommandExecutable(ReadOnlyCapabilitySet capabilitySet)
Command
getCommandExecutable in class Command@NotNull public java.lang.String[] getCommandArguments(ReadOnlyCapabilitySet readOnlyCapabilitySet)
Command
getCommandArguments in class CommandreadOnlyCapabilitySet - - for the current context
protected java.lang.String getDefaultTestReportsDirectory()
protected java.lang.String[] getCustomEnvironmentVars(ReadOnlyCapabilitySet capabilitySet)
getCustomEnvironmentVars in class Commandprotected java.lang.String getExecutableFileName()
public void setTextProvider(com.opensymphony.xwork.TextProvider textProvider)
public void setCustomVariableContext(CustomVariableContext customVariableContext)
setCustomVariableContext in class Command
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||