public class RepositoryRequest extends OperatingSystemRequest
Constructor and Description |
---|
RepositoryRequest(String stackName,
String stackVersion,
String osType,
String repoId,
String repoName) |
Modifier and Type | Method and Description |
---|---|
String |
getBaseUrl()
Gets the base URL for the repo.
|
Long |
getClusterVersionId() |
String |
getMirrorsList()
Gets the mirrors list for the repo.
|
String |
getRepoId() |
String |
getRepoName() |
boolean |
isVerifyBaseUrl() |
void |
setBaseUrl(String url)
Sets the base URL for the repo.
|
void |
setClusterVersionId(Long id) |
void |
setMirrorsList(String mirrorsList)
Sets the mirrors list for the repo.
|
void |
setRepoId(String repoId) |
void |
setRepoName(String repoName) |
void |
setVerifyBaseUrl(boolean verifyUrl) |
String |
toString() |
getOsType, getRepositoryVersionId, getVersionDefinitionId, setOsType, setRepositoryVersionId, setVersionDefinitionId
getStackVersion, setStackVersion
getStackName, setStackName
public String getRepoId()
public void setRepoId(String repoId)
public String getBaseUrl()
public void setBaseUrl(String url)
url
- the base URL.public boolean isVerifyBaseUrl()
true
if the base url should be verified. Default is true
.public void setVerifyBaseUrl(boolean verifyUrl)
verifyUrl
- true
to verify the base urlpublic void setClusterVersionId(Long id)
id
- the cluster version id for the requestpublic Long getClusterVersionId()
public String getRepoName()
public void setRepoName(String repoName)
repoName
- name of the repository (without version identifier)public String getMirrorsList()
public void setMirrorsList(String mirrorsList)
mirrorsList
- the mirrors listCopyright © 2022 Apache Software Foundation. All rights reserved.