Package io.fabric8.openshift.api.model
Class CommonWebHookCause
- java.lang.Object
-
- io.fabric8.openshift.api.model.CommonWebHookCause
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<CommonWebHookCauseBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class CommonWebHookCause extends Object implements io.fabric8.kubernetes.api.builder.Editable<CommonWebHookCauseBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
CommonWebHookCause factors out the identical format of these webhook causes into struct so we can share it in the specific causes; it is too late for GitHub and Generic but we can leverage this pattern with GitLab and Bitbucket.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CommonWebHookCause()No args constructor for use in serializationCommonWebHookCause(SourceRevision revision, String secret)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CommonWebHookCauseBuilderedit()Map<String,Object>getAdditionalProperties()SourceRevisiongetRevision()CommonWebHookCause factors out the identical format of these webhook causes into struct so we can share it in the specific causes; it is too late for GitHub and Generic but we can leverage this pattern with GitLab and Bitbucket.StringgetSecret()secret is the obfuscated webhook secret that triggered a build.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetRevision(SourceRevision revision)CommonWebHookCause factors out the identical format of these webhook causes into struct so we can share it in the specific causes; it is too late for GitHub and Generic but we can leverage this pattern with GitLab and Bitbucket.voidsetSecret(String secret)secret is the obfuscated webhook secret that triggered a build.CommonWebHookCauseBuildertoBuilder()
-
-
-
Constructor Detail
-
CommonWebHookCause
public CommonWebHookCause()
No args constructor for use in serialization
-
CommonWebHookCause
public CommonWebHookCause(SourceRevision revision, String secret)
-
-
Method Detail
-
getRevision
public SourceRevision getRevision()
CommonWebHookCause factors out the identical format of these webhook causes into struct so we can share it in the specific causes; it is too late for GitHub and Generic but we can leverage this pattern with GitLab and Bitbucket.
-
setRevision
public void setRevision(SourceRevision revision)
CommonWebHookCause factors out the identical format of these webhook causes into struct so we can share it in the specific causes; it is too late for GitHub and Generic but we can leverage this pattern with GitLab and Bitbucket.
-
getSecret
public String getSecret()
secret is the obfuscated webhook secret that triggered a build.
-
setSecret
public void setSecret(String secret)
secret is the obfuscated webhook secret that triggered a build.
-
edit
public CommonWebHookCauseBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<CommonWebHookCauseBuilder>
-
toBuilder
public CommonWebHookCauseBuilder toBuilder()
-
-