Package io.cucumber.messages.types
Class Ci
- java.lang.Object
-
- io.cucumber.messages.types.Ci
-
public class Ci extends Object
CI environment
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object other)StringgetBuildNumber()The build number.GitgetGit()Information about Git, provided by the Build/CI server as environment variables.StringgetName()Name of the CI product, e.g.StringgetUrl()Link to the buildinthashCode()voidsetBuildNumber(String buildNumber)The build number.voidsetGit(Git git)Information about Git, provided by the Build/CI server as environment variables.voidsetName(String name)Name of the CI product, e.g.voidsetUrl(String url)Link to the buildStringtoString()
-
-
-
Method Detail
-
getName
public String getName()
Name of the CI product, e.g. "Jenkins", "CircleCI" etc. (Required)
-
setName
public void setName(String name)
Name of the CI product, e.g. "Jenkins", "CircleCI" etc. (Required)
-
getUrl
public String getUrl()
Link to the build
-
setUrl
public void setUrl(String url)
Link to the build
-
getBuildNumber
public String getBuildNumber()
The build number. Some CI servers use non-numeric build numbers, which is why this is a string
-
setBuildNumber
public void setBuildNumber(String buildNumber)
The build number. Some CI servers use non-numeric build numbers, which is why this is a string
-
getGit
public Git getGit()
Information about Git, provided by the Build/CI server as environment variables.
-
setGit
public void setGit(Git git)
Information about Git, provided by the Build/CI server as environment variables.
-
-