Package io.fabric8.openshift.api.model
Class GitInfo
- java.lang.Object
-
- io.fabric8.openshift.api.model.GitInfo
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<GitInfoBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class GitInfo extends Object implements io.fabric8.kubernetes.api.builder.Editable<GitInfoBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
GitInfo is the aggregated git information for a generic webhook post- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GitInfo()No args constructor for use in serializationGitInfo(SourceControlUser author, String commit, SourceControlUser committer, String httpProxy, String httpsProxy, String message, String noProxy, String ref, List<GitRefInfo> refs, String uri)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GitInfoBuilderedit()Map<String,Object>getAdditionalProperties()SourceControlUsergetAuthor()GitInfo is the aggregated git information for a generic webhook postStringgetCommit()commit is the commit hash identifying a specific commitSourceControlUsergetCommitter()GitInfo is the aggregated git information for a generic webhook postStringgetHttpProxy()httpProxy is a proxy used to reach the git repository over httpStringgetHttpsProxy()httpsProxy is a proxy used to reach the git repository over httpsStringgetMessage()message is the description of a specific commitStringgetNoProxy()noProxy is the list of domains for which the proxy should not be usedStringgetRef()ref is the branch/tag/ref to build.List<GitRefInfo>getRefs()refs is a list of GitRefs for the provided repo - generally sent when used from a post-receive hook.StringgetUri()uri points to the source that will be built.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetAuthor(SourceControlUser author)GitInfo is the aggregated git information for a generic webhook postvoidsetCommit(String commit)commit is the commit hash identifying a specific commitvoidsetCommitter(SourceControlUser committer)GitInfo is the aggregated git information for a generic webhook postvoidsetHttpProxy(String httpProxy)httpProxy is a proxy used to reach the git repository over httpvoidsetHttpsProxy(String httpsProxy)httpsProxy is a proxy used to reach the git repository over httpsvoidsetMessage(String message)message is the description of a specific commitvoidsetNoProxy(String noProxy)noProxy is the list of domains for which the proxy should not be usedvoidsetRef(String ref)ref is the branch/tag/ref to build.voidsetRefs(List<GitRefInfo> refs)refs is a list of GitRefs for the provided repo - generally sent when used from a post-receive hook.voidsetUri(String uri)uri points to the source that will be built.GitInfoBuildertoBuilder()
-
-
-
Constructor Detail
-
GitInfo
public GitInfo()
No args constructor for use in serialization
-
GitInfo
public GitInfo(SourceControlUser author, String commit, SourceControlUser committer, String httpProxy, String httpsProxy, String message, String noProxy, String ref, List<GitRefInfo> refs, String uri)
-
-
Method Detail
-
getAuthor
public SourceControlUser getAuthor()
GitInfo is the aggregated git information for a generic webhook post
-
setAuthor
public void setAuthor(SourceControlUser author)
GitInfo is the aggregated git information for a generic webhook post
-
getCommit
public String getCommit()
commit is the commit hash identifying a specific commit
-
setCommit
public void setCommit(String commit)
commit is the commit hash identifying a specific commit
-
getCommitter
public SourceControlUser getCommitter()
GitInfo is the aggregated git information for a generic webhook post
-
setCommitter
public void setCommitter(SourceControlUser committer)
GitInfo is the aggregated git information for a generic webhook post
-
getHttpProxy
public String getHttpProxy()
httpProxy is a proxy used to reach the git repository over http
-
setHttpProxy
public void setHttpProxy(String httpProxy)
httpProxy is a proxy used to reach the git repository over http
-
getHttpsProxy
public String getHttpsProxy()
httpsProxy is a proxy used to reach the git repository over https
-
setHttpsProxy
public void setHttpsProxy(String httpsProxy)
httpsProxy is a proxy used to reach the git repository over https
-
getMessage
public String getMessage()
message is the description of a specific commit
-
setMessage
public void setMessage(String message)
message is the description of a specific commit
-
getNoProxy
public String getNoProxy()
noProxy is the list of domains for which the proxy should not be used
-
setNoProxy
public void setNoProxy(String noProxy)
noProxy is the list of domains for which the proxy should not be used
-
getRef
public String getRef()
ref is the branch/tag/ref to build.
-
setRef
public void setRef(String ref)
ref is the branch/tag/ref to build.
-
getRefs
public List<GitRefInfo> getRefs()
refs is a list of GitRefs for the provided repo - generally sent when used from a post-receive hook. This field is optional and is used when sending multiple refs
-
setRefs
public void setRefs(List<GitRefInfo> refs)
refs is a list of GitRefs for the provided repo - generally sent when used from a post-receive hook. This field is optional and is used when sending multiple refs
-
getUri
public String getUri()
uri points to the source that will be built. The structure of the source will depend on the type of build to run
-
setUri
public void setUri(String uri)
uri points to the source that will be built. The structure of the source will depend on the type of build to run
-
edit
public GitInfoBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<GitInfoBuilder>
-
toBuilder
public GitInfoBuilder toBuilder()
-
-