Class P4PasswordImpl
- java.lang.Object
-
- com.cloudbees.plugins.credentials.BaseCredentials
-
- com.cloudbees.plugins.credentials.impl.BaseStandardCredentials
-
- org.jenkinsci.plugins.p4.credentials.P4BaseCredentials
-
- org.jenkinsci.plugins.p4.credentials.P4PasswordImpl
-
- All Implemented Interfaces:
com.cloudbees.plugins.credentials.common.IdCredentials
,com.cloudbees.plugins.credentials.common.PasswordCredentials
,com.cloudbees.plugins.credentials.common.StandardCredentials
,com.cloudbees.plugins.credentials.common.StandardUsernameCredentials
,com.cloudbees.plugins.credentials.common.StandardUsernamePasswordCredentials
,com.cloudbees.plugins.credentials.common.UsernameCredentials
,com.cloudbees.plugins.credentials.common.UsernamePasswordCredentials
,com.cloudbees.plugins.credentials.Credentials
,ExtensionPoint
,Describable<com.cloudbees.plugins.credentials.Credentials>
,Serializable
,P4Credentials
,P4Password
public class P4PasswordImpl extends P4BaseCredentials implements P4Password
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
P4PasswordImpl.DescriptorImpl
-
Nested classes/interfaces inherited from class com.cloudbees.plugins.credentials.impl.BaseStandardCredentials
com.cloudbees.plugins.credentials.impl.BaseStandardCredentials.BaseStandardCredentialsDescriptor
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Nested classes/interfaces inherited from interface com.cloudbees.plugins.credentials.common.IdCredentials
com.cloudbees.plugins.credentials.common.IdCredentials.Helpers
-
Nested classes/interfaces inherited from interface com.cloudbees.plugins.credentials.common.StandardCredentials
com.cloudbees.plugins.credentials.common.StandardCredentials.NameProvider
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Secret
getPassword()
boolean
isAllhosts()
void
setAllhosts(boolean allhosts)
-
Methods inherited from class org.jenkinsci.plugins.p4.credentials.P4BaseCredentials
getFullP4port, getP4host, getP4JavaUri, getP4port, getRetry, getSessionLife, getSsl, getTick, getTimeout, getTrust, getUsername, isSessionEnabled, isSslEnabled, setSessionEnabled, setSessionLife, setTick
-
Methods inherited from class com.cloudbees.plugins.credentials.impl.BaseStandardCredentials
equals, getDescription, getId, hashCode
-
Methods inherited from class com.cloudbees.plugins.credentials.BaseCredentials
getDescriptor, getScope
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.cloudbees.plugins.credentials.Credentials
forRun, getDescriptor, getScope
-
Methods inherited from interface org.jenkinsci.plugins.p4.credentials.P4Credentials
getP4port, getSsl, getTrust, isSslEnabled
-
-
-
-
Constructor Detail
-
P4PasswordImpl
@DataBoundConstructor public P4PasswordImpl(com.cloudbees.plugins.credentials.CredentialsScope scope, String id, String description, @NonNull String p4port, TrustImpl ssl, @NonNull String username, @CheckForNull String retry, @CheckForNull String timeout, @CheckForNull String p4host, @NonNull String password)
-
-
Method Detail
-
setAllhosts
@DataBoundSetter public void setAllhosts(boolean allhosts)
-
getPassword
public Secret getPassword()
- Specified by:
getPassword
in interfacecom.cloudbees.plugins.credentials.common.PasswordCredentials
-
isAllhosts
public boolean isAllhosts()
-
-