Class CRPipeline
java.lang.Object
com.thoughtworks.go.plugin.configrepo.contract.CRBase
com.thoughtworks.go.plugin.configrepo.contract.CRPipeline
- All Implemented Interfaces:
Locatable
public class CRPipeline extends CRBase
-
Field Summary
-
Constructor Summary
Constructors Constructor Description CRPipeline()CRPipeline(java.lang.String name, java.lang.String groupName) -
Method Summary
Modifier and Type Method Description voidaddEnvironmentVariable(CREnvironmentVariable variable)voidaddEnvironmentVariable(java.lang.String key, java.lang.String value)voidaddMaterial(CRMaterial material)voidaddParameter(CRParameter param)voidaddStage(CRStage stage)voidgetErrors(ErrorCollection errors, java.lang.String parentLocation)java.lang.StringgetLocation(java.lang.String parent)CRMaterialgetMaterialByName(java.lang.String name)booleanhasEnvironmentVariable(java.lang.String key)booleanhasTemplate()Methods inherited from class com.thoughtworks.go.plugin.configrepo.contract.CRBase
getErrors, getLocation, setLocationMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
CRPipeline
public CRPipeline() -
CRPipeline
public CRPipeline(java.lang.String name, java.lang.String groupName)
-
-
Method Details
-
hasEnvironmentVariable
public boolean hasEnvironmentVariable(java.lang.String key) -
getMaterialByName
-
addMaterial
-
addStage
-
addParameter
-
addEnvironmentVariable
public void addEnvironmentVariable(java.lang.String key, java.lang.String value) -
addEnvironmentVariable
-
getLocation
public java.lang.String getLocation(java.lang.String parent) -
getErrors
-
hasTemplate
public boolean hasTemplate()
-