Class GitHubLocation
- All Implemented Interfaces:
Serializable
,Cloneable
Information about the location of application artifacts stored in GitHub.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The SHA1 commit ID of the GitHub commit that represents the bundled artifacts for the application revision.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 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.toString()
Returns a string representation of this object; useful for testing and debugging.withCommitId
(String commitId) The SHA1 commit ID of the GitHub commit that represents the bundled artifacts for the application revision.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.
-
Constructor Details
-
GitHubLocation
public GitHubLocation()
-
-
Method Details
-
setRepository
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.
- Parameters:
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.
-
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.
- Returns:
- 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.
-
withRepository
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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCommitId
The SHA1 commit ID of the GitHub commit that represents the bundled artifacts for the application revision.
- Parameters:
commitId
- The SHA1 commit ID of the GitHub commit that represents the bundled artifacts for the application revision.
-
getCommitId
The SHA1 commit ID of the GitHub commit that represents the bundled artifacts for the application revision.
- Returns:
- The SHA1 commit ID of the GitHub commit that represents the bundled artifacts for the application revision.
-
withCommitId
The SHA1 commit ID of the GitHub commit that represents the bundled artifacts for the application revision.
- Parameters:
commitId
- The SHA1 commit ID of the GitHub commit that represents the bundled artifacts for the application revision.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-