|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjetbrains.buildServer.artifacts.DependencyResolverContext
public class DependencyResolverContext
Storage for dependency resolver context
| Constructor Summary | |
|---|---|
DependencyResolverContext()
|
|
| Method Summary | |
|---|---|
void |
checkConfigured()
|
java.io.File |
getCacheDir()
|
int |
getConnectionTimeout()
|
DependencyResolverListener |
getListener()
|
java.lang.String |
getPassword()
|
java.net.URL |
getServerUrl()
|
java.lang.String |
getUsername()
|
void |
setArtifactsCacheDir(java.io.File cacheDir)
Set artifacts cache directory, if cache directory is not specified, temporary directory will be used. |
void |
setConnectionTimeout(int connectionTimeout)
Sets server connection timeout in seconds |
void |
setCredentials(java.lang.String username,
java.lang.String password)
Sets credentials to use for artifacts downloading |
void |
setListener(DependencyResolverListener listener)
|
void |
setServerUrl(java.lang.String serverUrl)
Sets server URL |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DependencyResolverContext()
| Method Detail |
|---|
public void setListener(@NotNull
DependencyResolverListener listener)
public void setServerUrl(@NotNull
java.lang.String serverUrl)
throws java.net.MalformedURLException
serverUrl - server URL
java.net.MalformedURLException - if server URL is not valid
public void setCredentials(@NotNull
java.lang.String username,
@NotNull
java.lang.String password)
username - usernamepassword - password
public void setArtifactsCacheDir(@NotNull
java.io.File cacheDir)
cacheDir - cache directorypublic void setConnectionTimeout(int connectionTimeout)
connectionTimeout - - server connection timeout in seconds
public void checkConfigured()
throws java.lang.IllegalStateException
java.lang.IllegalStateExceptionpublic DependencyResolverListener getListener()
public java.net.URL getServerUrl()
public java.lang.String getPassword()
public java.lang.String getUsername()
public java.io.File getCacheDir()
public int getConnectionTimeout()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||