Package io.fabric8.openshift.api.model
Class BuildTriggerCause
- java.lang.Object
-
- io.fabric8.openshift.api.model.BuildTriggerCause
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<BuildTriggerCauseBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class BuildTriggerCause extends Object implements io.fabric8.kubernetes.api.builder.Editable<BuildTriggerCauseBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
BuildTriggerCause holds information about a triggered build. It is used for displaying build trigger data for each build and build configuration in oc describe. It is also used to describe which triggers led to the most recent update in the build configuration.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BuildTriggerCause()No args constructor for use in serializationBuildTriggerCause(BitbucketWebHookCause bitbucketWebHook, GenericWebHookCause genericWebHook, GitHubWebHookCause githubWebHook, GitLabWebHookCause gitlabWebHook, ImageChangeCause imageChangeBuild, String message)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BuildTriggerCauseBuilderedit()Map<String,Object>getAdditionalProperties()BitbucketWebHookCausegetBitbucketWebHook()BuildTriggerCause holds information about a triggered build.GenericWebHookCausegetGenericWebHook()BuildTriggerCause holds information about a triggered build.GitHubWebHookCausegetGithubWebHook()BuildTriggerCause holds information about a triggered build.GitLabWebHookCausegetGitlabWebHook()BuildTriggerCause holds information about a triggered build.ImageChangeCausegetImageChangeBuild()BuildTriggerCause holds information about a triggered build.StringgetMessage()message is used to store a human readable message for why the build was triggered.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetBitbucketWebHook(BitbucketWebHookCause bitbucketWebHook)BuildTriggerCause holds information about a triggered build.voidsetGenericWebHook(GenericWebHookCause genericWebHook)BuildTriggerCause holds information about a triggered build.voidsetGithubWebHook(GitHubWebHookCause githubWebHook)BuildTriggerCause holds information about a triggered build.voidsetGitlabWebHook(GitLabWebHookCause gitlabWebHook)BuildTriggerCause holds information about a triggered build.voidsetImageChangeBuild(ImageChangeCause imageChangeBuild)BuildTriggerCause holds information about a triggered build.voidsetMessage(String message)message is used to store a human readable message for why the build was triggered.BuildTriggerCauseBuildertoBuilder()
-
-
-
Constructor Detail
-
BuildTriggerCause
public BuildTriggerCause()
No args constructor for use in serialization
-
BuildTriggerCause
public BuildTriggerCause(BitbucketWebHookCause bitbucketWebHook, GenericWebHookCause genericWebHook, GitHubWebHookCause githubWebHook, GitLabWebHookCause gitlabWebHook, ImageChangeCause imageChangeBuild, String message)
-
-
Method Detail
-
getBitbucketWebHook
public BitbucketWebHookCause getBitbucketWebHook()
BuildTriggerCause holds information about a triggered build. It is used for displaying build trigger data for each build and build configuration in oc describe. It is also used to describe which triggers led to the most recent update in the build configuration.
-
setBitbucketWebHook
public void setBitbucketWebHook(BitbucketWebHookCause bitbucketWebHook)
BuildTriggerCause holds information about a triggered build. It is used for displaying build trigger data for each build and build configuration in oc describe. It is also used to describe which triggers led to the most recent update in the build configuration.
-
getGenericWebHook
public GenericWebHookCause getGenericWebHook()
BuildTriggerCause holds information about a triggered build. It is used for displaying build trigger data for each build and build configuration in oc describe. It is also used to describe which triggers led to the most recent update in the build configuration.
-
setGenericWebHook
public void setGenericWebHook(GenericWebHookCause genericWebHook)
BuildTriggerCause holds information about a triggered build. It is used for displaying build trigger data for each build and build configuration in oc describe. It is also used to describe which triggers led to the most recent update in the build configuration.
-
getGithubWebHook
public GitHubWebHookCause getGithubWebHook()
BuildTriggerCause holds information about a triggered build. It is used for displaying build trigger data for each build and build configuration in oc describe. It is also used to describe which triggers led to the most recent update in the build configuration.
-
setGithubWebHook
public void setGithubWebHook(GitHubWebHookCause githubWebHook)
BuildTriggerCause holds information about a triggered build. It is used for displaying build trigger data for each build and build configuration in oc describe. It is also used to describe which triggers led to the most recent update in the build configuration.
-
getGitlabWebHook
public GitLabWebHookCause getGitlabWebHook()
BuildTriggerCause holds information about a triggered build. It is used for displaying build trigger data for each build and build configuration in oc describe. It is also used to describe which triggers led to the most recent update in the build configuration.
-
setGitlabWebHook
public void setGitlabWebHook(GitLabWebHookCause gitlabWebHook)
BuildTriggerCause holds information about a triggered build. It is used for displaying build trigger data for each build and build configuration in oc describe. It is also used to describe which triggers led to the most recent update in the build configuration.
-
getImageChangeBuild
public ImageChangeCause getImageChangeBuild()
BuildTriggerCause holds information about a triggered build. It is used for displaying build trigger data for each build and build configuration in oc describe. It is also used to describe which triggers led to the most recent update in the build configuration.
-
setImageChangeBuild
public void setImageChangeBuild(ImageChangeCause imageChangeBuild)
BuildTriggerCause holds information about a triggered build. It is used for displaying build trigger data for each build and build configuration in oc describe. It is also used to describe which triggers led to the most recent update in the build configuration.
-
getMessage
public String getMessage()
message is used to store a human readable message for why the build was triggered. E.g.: "Manually triggered by user", "Configuration change",etc.
-
setMessage
public void setMessage(String message)
message is used to store a human readable message for why the build was triggered. E.g.: "Manually triggered by user", "Configuration change",etc.
-
edit
public BuildTriggerCauseBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<BuildTriggerCauseBuilder>
-
toBuilder
public BuildTriggerCauseBuilder toBuilder()
-
-