public class GitHubLocation extends Object implements Serializable
Information about the location of application artifacts that are stored in GitHub.
| Constructor and Description |
|---|
GitHubLocation() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getCommitId()
The SHA1 commit ID of the GitHub commit that references the that
represents the bundled artifacts for the application revision.
|
String |
getRepository()
The GitHub account and repository pair that stores a reference to the
commit that represents the bundled artifacts for the application
revision.
|
int |
hashCode() |
void |
setCommitId(String commitId)
The SHA1 commit ID of the GitHub commit that references the that
represents the bundled artifacts for the application revision.
|
void |
setRepository(String repository)
The GitHub account and repository pair that stores a reference to the
commit that represents the bundled artifacts for the application
revision.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GitHubLocation |
withCommitId(String commitId)
The SHA1 commit ID of the GitHub commit that references the that
represents the bundled artifacts for the application revision.
|
GitHubLocation |
withRepository(String repository)
The GitHub account and repository pair that stores a reference to the
commit that represents the bundled artifacts for the application
revision.
|
public String getRepository()
Specified as account/repository.
Specified as account/repository.
public void setRepository(String repository)
Specified as account/repository.
repository - The GitHub account and repository pair that stores a reference to the
commit that represents the bundled artifacts for the application
revision. Specified as account/repository.
public GitHubLocation withRepository(String repository)
Specified as account/repository.
Returns a reference to this object so that method calls can be chained together.
repository - The GitHub account and repository pair that stores a reference to the
commit that represents the bundled artifacts for the application
revision. Specified as account/repository.
public String getCommitId()
public void setCommitId(String commitId)
commitId - The SHA1 commit ID of the GitHub commit that references the that
represents the bundled artifacts for the application revision.public GitHubLocation withCommitId(String commitId)
Returns a reference to this object so that method calls can be chained together.
commitId - The SHA1 commit ID of the GitHub commit that references the that
represents the bundled artifacts for the application revision.public String toString()
toString in class ObjectObject.toString()Copyright © 2014. All rights reserved.