public abstract class P4BaseCredentials extends com.cloudbees.plugins.credentials.impl.BaseStandardCredentials implements P4Credentials
com.cloudbees.plugins.credentials.impl.BaseStandardCredentials.BaseStandardCredentialsDescriptor
com.cloudbees.plugins.credentials.common.StandardUsernameCredentials.NameProvider
Constructor and Description |
---|
P4BaseCredentials(com.cloudbees.plugins.credentials.CredentialsScope scope,
String id,
String description,
String p4port,
TrustImpl ssl,
String username,
String retry,
String timeout,
String p4host)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getP4host() |
String |
getP4JavaUri() |
String |
getP4port() |
int |
getRetry() |
int |
getTimeout() |
String |
getTrust() |
String |
getUsername() |
boolean |
isSsl() |
equals, getDescription, getId, hashCode
getDescriptor, getScope
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
public P4BaseCredentials(com.cloudbees.plugins.credentials.CredentialsScope scope, String id, String description, @NonNull String p4port, @CheckForNull TrustImpl ssl, @NonNull String username, @CheckForNull String retry, @CheckForNull String timeout, @CheckForNull String p4host)
scope
- the scope.id
- the id.description
- the description.p4port
- Perforce portssl
- Perforce SSL optionsusername
- Perforce usernameretry
- Perforce connection retry optiontimeout
- Perforce connection timeout optionp4host
- Perforce HOST (optional)public String getP4port()
getP4port
in interface P4Credentials
public String getP4JavaUri()
public boolean isSsl()
isSsl
in interface P4Credentials
@CheckForNull public String getTrust()
getTrust
in interface P4Credentials
public String getUsername()
getUsername
in interface com.cloudbees.plugins.credentials.common.UsernameCredentials
public int getRetry()
public int getTimeout()
public String getP4host()
Copyright © 2016–2019. All rights reserved.