public class JkRepoConfigOptionLoader
extends java.lang.Object
Constructor and Description |
---|
JkRepoConfigOptionLoader() |
Modifier and Type | Method and Description |
---|---|
static java.util.Map<java.lang.String,java.lang.String> |
allRepositoryOptions() |
static JkRepo |
downloadRepository()
Returns the repositories where are downloaded dependencies.
|
static JkRepo |
publishRepository()
Returns repository where are published artifacts.
|
static JkRepo |
repoFromOptions(java.lang.String repoName)
Creates
JkRepo form Jerkar options. |
static JkRepo |
runRepository()
Returns the repositories where are downloaded dependencies needed to execute the Jerkar run.
|
public static JkRepo publishRepository()
repo.publish.url
,
repo.publish.username
and repo.publish.password
.
You can select another repository defined in option by setting
repo.publishname
option. So if you want to select the
repository defined as repo.myRepo.url
in your options, set
option repo.publishname=myRepo
.
This methods returns null
if no matching option found
public static JkRepo downloadRepository()
repo.download.url
,
repo.publish.username
and repo.download.password
.
You can select another repository defined in option by setting
repo.downloadname
option. So if you want to select the
repository defined as repo.myRepo.url
in your options, set
option repo.downloadname=myRepo
.
This methods returns an empy repos if no matching options found.
public static JkRepo runRepository()
public static JkRepo repoFromOptions(java.lang.String repoName)
JkRepo
form Jerkar options. the specified repository name
will be turned to repo.[repoName].url
,
repo.[repoName].username
and
repo.[repoName].password
options for creating according
repository.public static java.util.Map<java.lang.String,java.lang.String> allRepositoryOptions()