public class GitHubLocation extends Object implements Serializable, Cloneable
Information about the location of application artifacts that are stored in GitHub.
Constructor and Description |
---|
GitHubLocation() |
Modifier and Type | Method and Description |
---|---|
GitHubLocation |
clone() |
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 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.
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 String getRepository()
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.
Specified as account/repository.
public 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.
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 void setCommitId(String commitId)
The SHA1 commit ID of the GitHub commit that references the that represents the bundled artifacts for the application revision.
commitId
- The SHA1 commit ID of the GitHub commit that references the that
represents the bundled artifacts for the application revision.public String getCommitId()
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)
The SHA1 commit ID of the GitHub commit that references the that represents the bundled artifacts for the application revision.
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 Object
Object.toString()
public GitHubLocation clone()
Copyright © 2015. All rights reserved.