Class GerritSourceContext (2.3.0)

public sealed class GerritSourceContext : IMessage<GerritSourceContext>, IEquatable<GerritSourceContext>, IDeepCloneable<GerritSourceContext>, IBufferMessage, IMessage

A SourceContext referring to a Gerrit project.

Inheritance

Object > GerritSourceContext

Namespace

Grafeas.V1

Assembly

Grafeas.V1.dll

Constructors

GerritSourceContext()

public GerritSourceContext()

GerritSourceContext(GerritSourceContext)

public GerritSourceContext(GerritSourceContext other)
Parameter
NameDescription
otherGerritSourceContext

Properties

AliasContext

public AliasContext AliasContext { get; set; }

An alias, which may be a branch or tag.

Property Value
TypeDescription
AliasContext

GerritProject

public string GerritProject { get; set; }

The full project name within the host. Projects may be nested, so "project/subproject" is a valid project name. The "repo name" is the hostURI/project.

Property Value
TypeDescription
String

HostUri

public string HostUri { get; set; }

The URI of a running Gerrit instance.

Property Value
TypeDescription
String

RevisionCase

public GerritSourceContext.RevisionOneofCase RevisionCase { get; }
Property Value
TypeDescription
GerritSourceContext.RevisionOneofCase

RevisionId

public string RevisionId { get; set; }

A revision (commit) ID.

Property Value
TypeDescription
String