|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Builder
This interface defines a Builder tool plugin.
Field Summary | |
---|---|
static java.lang.String |
CAPABILITY_BUILDER_PREFIX
|
static java.lang.String |
CAPABILITY_BUILDER_TYPE
|
Method Summary | |
---|---|
java.util.Map<java.lang.String,LabelPathMap> |
addDefaultLabelPathMaps(java.util.Map<java.lang.String,LabelPathMap> labelPathMaps)
|
java.util.Map<java.lang.String,java.lang.String> |
customiseLabelTypeMap(java.util.Map<java.lang.String,java.lang.String> labelTypeMap)
Allows the builder to add extra label -> builder type key mappings |
java.lang.String |
getBuildJdk()
The label of the JDK we're using |
java.lang.String |
getCompleteKey()
Returns the full plugin descriptor key |
java.util.Map<java.lang.String,java.lang.String> |
getFullParams()
Gets the full params that's used to persist. |
java.lang.String |
getKey()
Returns the short simple key for this builder (e.g. |
java.lang.String |
getLabel()
Gets the label of the builder |
java.lang.String |
getName()
Returns a human readable version of the current Builder type |
java.lang.String |
getPath(ReadOnlyCapabilitySet capabilitySet)
The home path of the builder's command line |
java.lang.String |
getPathHelp()
Help text for the builder type |
boolean |
hasTests()
Does the build have any tests to be included in the build results web pages? |
boolean |
isLabelPathMapConfigurable()
Returns true if the Builder can have its LabelPathMap configurable. |
boolean |
isPathValid(java.lang.String path)
Returns true if the passed path is valid for this builder. |
void |
setBuildJdk(java.lang.String buildJdk)
The label of the JDK we're using |
void |
setLabel(java.lang.String label)
Sets the label being used by the builder |
void |
setParams(FilteredMap params)
Updates the current builder object with |
ErrorCollection |
validate(ReadOnlyCapabilitySet capabilities)
Validate the Builder's current internal settings are still valid |
Methods inherited from interface com.atlassian.bamboo.v2.build.BuilderV2 |
---|
executeBuild, hasPassed, populateBuildErrors |
Methods inherited from interface com.atlassian.bamboo.v2.build.ConfigurablePlugin |
---|
addDefaultValues, customizeBuildRequirements, getEditHtml, getViewHtml, prepareConfigObject, removeBuildRequirements, validate |
Methods inherited from interface com.atlassian.bamboo.plugin.InitablePluginModule |
---|
init |
Field Detail |
---|
static final java.lang.String CAPABILITY_BUILDER_TYPE
static final java.lang.String CAPABILITY_BUILDER_PREFIX
Method Detail |
---|
@NotNull java.lang.String getCompleteKey()
@NotNull java.lang.String getKey()
@NotNull java.lang.String getName()
@NotNull java.lang.String getPathHelp()
@NotNull ErrorCollection validate(ReadOnlyCapabilitySet capabilities)
capabilities
-
@NotNull java.util.Map<java.lang.String,java.lang.String> getFullParams()
void setParams(@NotNull FilteredMap params)
params
- - Filtered Map with the prefix builder key stripped outboolean hasTests()
@NotNull java.lang.String getLabel()
void setLabel(@NotNull java.lang.String label)
label
- void setBuildJdk(@NotNull java.lang.String buildJdk)
buildJdk
- The label@Nullable java.lang.String getBuildJdk()
java.lang.String getPath(ReadOnlyCapabilitySet capabilitySet)
capabilitySet
-
boolean isLabelPathMapConfigurable()
LabelPathMap
configurable. If it can't be, it won't be displayed
on the ConfigureBuilder page.
LabelPathMap
is configurablejava.util.Map<java.lang.String,java.lang.String> customiseLabelTypeMap(java.util.Map<java.lang.String,java.lang.String> labelTypeMap)
labelTypeMap
- may be nulljava.util.Map<java.lang.String,LabelPathMap> addDefaultLabelPathMaps(java.util.Map<java.lang.String,LabelPathMap> labelPathMaps)
labelPathMaps
-
boolean isPathValid(java.lang.String path)
path
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |