Package io.fabric8.openshift.api.model
Class SourceRevision
- java.lang.Object
-
- io.fabric8.openshift.api.model.SourceRevision
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<SourceRevisionBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class SourceRevision extends Object implements io.fabric8.kubernetes.api.builder.Editable<SourceRevisionBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
SourceRevision is the revision or commit information from the source for the build- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SourceRevision()No args constructor for use in serializationSourceRevision(GitSourceRevision git, String type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SourceRevisionBuilderedit()Map<String,Object>getAdditionalProperties()GitSourceRevisiongetGit()SourceRevision is the revision or commit information from the source for the buildStringgetType()type of the build source, may be one of 'Source', 'Dockerfile', 'Binary', or 'Images'voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetGit(GitSourceRevision git)SourceRevision is the revision or commit information from the source for the buildvoidsetType(String type)type of the build source, may be one of 'Source', 'Dockerfile', 'Binary', or 'Images'SourceRevisionBuildertoBuilder()
-
-
-
Constructor Detail
-
SourceRevision
public SourceRevision()
No args constructor for use in serialization
-
SourceRevision
public SourceRevision(GitSourceRevision git, String type)
-
-
Method Detail
-
getGit
public GitSourceRevision getGit()
SourceRevision is the revision or commit information from the source for the build
-
setGit
public void setGit(GitSourceRevision git)
SourceRevision is the revision or commit information from the source for the build
-
getType
public String getType()
type of the build source, may be one of 'Source', 'Dockerfile', 'Binary', or 'Images'
-
setType
public void setType(String type)
type of the build source, may be one of 'Source', 'Dockerfile', 'Binary', or 'Images'
-
edit
public SourceRevisionBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<SourceRevisionBuilder>
-
toBuilder
public SourceRevisionBuilder toBuilder()
-
-