Groovy Documentation

javaposse.jobdsl.dsl.helpers
[Groovy] Class BuildParametersContextHelper.BuildParametersContext

java.lang.Object
  javaposse.jobdsl.dsl.helpers.BuildParametersContextHelper.BuildParametersContext
All Implemented Interfaces:
Context

static class BuildParametersContextHelper.BuildParametersContext

Property Summary
java.util.Map buildParameterNodes

 
Method Summary
java.lang.Object booleanParam(java.lang.String parameterName, boolean defaultValue = false, java.lang.String description = null)

booleanValue ths description of the boolean value true

java.lang.Object choiceParam(java.lang.String parameterName, java.util.List options, java.lang.String description = null)

choice test one two three

java.lang.Object fileParam(java.lang.String fileLocation, java.lang.String description = null)

test/upload.zip lalala

java.lang.Object listTagsParam(java.lang.String parameterName, java.lang.String scmUrl, java.lang.String tagFilterRegex, boolean sortNewestFirst = false, boolean sortZtoA = false, java.lang.String maxTagsToDisplay = "all", java.lang.String defaultValue = null, java.lang.String description = null)

listSvnTagsValue Select a Subversion entry http://kenai.com/svn theTagFilterRegex true true theDefaultValue maxTagsToDisplayValue e434beb2-10dd-4444-a054-44fec8c86ff8

java.lang.Object runParam(java.lang.String parameterName, java.lang.String jobToRun, java.lang.String description = null, java.lang.String filter = null)

runValue 2 the description of the run value SUCCESSFUL

java.lang.Object stringParam(java.lang.String parameterName, java.lang.String defaultValue = null, java.lang.String description = null)

stringValue the description of the string value theDefaultStringValue

java.lang.Object textParam(java.lang.String parameterName, java.lang.String defaultValue = null, java.lang.String description = null)

textValue the description of the text value defaultTextValue

 
Methods inherited from class java.lang.Object
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
 

Property Detail

buildParameterNodes

java.util.Map buildParameterNodes


 
Method Detail

booleanParam

java.lang.Object booleanParam(java.lang.String parameterName, boolean defaultValue = false, java.lang.String description = null)
booleanValue ths description of the boolean value true
Parameters:
parameterName - name of the parameter
defaultValue - "false" if not specified
description - (optional)
Returns:


choiceParam

java.lang.Object choiceParam(java.lang.String parameterName, java.util.List options, java.lang.String description = null)
choice test one two three
Parameters:
parameterName
options{choiceA_Default, - choiceB, choiceC}
description - (optional)
Returns:


fileParam

java.lang.Object fileParam(java.lang.String fileLocation, java.lang.String description = null)
test/upload.zip lalala
Parameters:
parameterName
fileLocation_relativeToTheWorkspace
description - (optional)
Returns:


listTagsParam

java.lang.Object listTagsParam(java.lang.String parameterName, java.lang.String scmUrl, java.lang.String tagFilterRegex, boolean sortNewestFirst = false, boolean sortZtoA = false, java.lang.String maxTagsToDisplay = "all", java.lang.String defaultValue = null, java.lang.String description = null)
listSvnTagsValue Select a Subversion entry http://kenai.com/svn theTagFilterRegex true true theDefaultValue maxTagsToDisplayValue e434beb2-10dd-4444-a054-44fec8c86ff8
Parameters:
parameterName
scmUrl
tagFilterRegex
sortNewestFirst - (default = "false")
sortZtoA - (default = "false")
maxTagsToDisplay - (optional - "all" if not specified)
defaultValue - (optional)
description - (optional)
Returns:


runParam

java.lang.Object runParam(java.lang.String parameterName, java.lang.String jobToRun, java.lang.String description = null, java.lang.String filter = null)
runValue 2 the description of the run value SUCCESSFUL
Parameters:
parameterName
jobToRun
description - (optional)
filter - (optional, one of "ALL", "COMPLETED", "SUCCESSFUL" or "STABLE")
Returns:


stringParam

java.lang.Object stringParam(java.lang.String parameterName, java.lang.String defaultValue = null, java.lang.String description = null)
stringValue the description of the string value theDefaultStringValue
Parameters:
parameterName
defaultValue - (optional)
description - (optional)
Returns:


textParam

java.lang.Object textParam(java.lang.String parameterName, java.lang.String defaultValue = null, java.lang.String description = null)
textValue the description of the text value defaultTextValue
Parameters:
parameterName
defaultValue - (optional)
description - (optional)
Returns:


 

Groovy Documentation