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 |
getFullP4port() |
String |
getP4host() |
String |
getP4JavaUri() |
String |
getP4port() |
int |
getRetry() |
long |
getSessionLife() |
TrustImpl |
getSsl() |
int |
getTick() |
int |
getTimeout() |
String |
getTrust() |
String |
getUsername() |
boolean |
isSessionEnabled() |
boolean |
isSslEnabled() |
void |
setSessionEnabled(boolean sessionEnabled) |
void |
setSessionLife(long sessionLife) |
void |
setTick(String tick) |
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)@DataBoundSetter public void setTick(String tick)
@DataBoundSetter public void setSessionEnabled(boolean sessionEnabled)
@DataBoundSetter public void setSessionLife(long sessionLife)
public String getP4port()
getP4port
in interface P4Credentials
public String getFullP4port()
public String getP4JavaUri()
public TrustImpl getSsl()
getSsl
in interface P4Credentials
public boolean isSslEnabled()
isSslEnabled
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()
public int getTick()
public boolean isSessionEnabled()
public long getSessionLife()
Copyright © 2016–2022. All rights reserved.