Class P4TicketImpl
- 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.P4TicketImpl
-
- All Implemented Interfaces:
com.cloudbees.plugins.credentials.common.IdCredentials
,com.cloudbees.plugins.credentials.common.StandardCredentials
,com.cloudbees.plugins.credentials.common.StandardUsernameCredentials
,com.cloudbees.plugins.credentials.common.UsernameCredentials
,com.cloudbees.plugins.credentials.Credentials
,ExtensionPoint
,Describable<com.cloudbees.plugins.credentials.Credentials>
,Serializable
,P4Credentials
,P4Ticket
public class P4TicketImpl extends P4BaseCredentials implements P4Ticket
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
P4TicketImpl.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
-
-
Constructor Summary
Constructors Constructor Description P4TicketImpl(com.cloudbees.plugins.credentials.CredentialsScope scope, String id, String description, String p4port, TrustImpl ssl, String username, String retry, String timeout, String p4host, TicketModeImpl ticket)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getTicketPath()
String
getTicketValue()
boolean
isTicketPathSet()
boolean
isTicketValueSet()
-
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
-
P4TicketImpl
@DataBoundConstructor public P4TicketImpl(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, TicketModeImpl ticket)
-
-
Method Detail
-
getTicketValue
@CheckForNull public String getTicketValue()
- Specified by:
getTicketValue
in interfaceP4Ticket
- Returns:
- The ticket value
-
isTicketValueSet
public boolean isTicketValueSet()
- Specified by:
isTicketValueSet
in interfaceP4Ticket
- Returns:
- true if TicketValue is selected
-
getTicketPath
@CheckForNull public String getTicketPath()
- Specified by:
getTicketPath
in interfaceP4Ticket
- Returns:
- Location of the users .p4tickets files
-
isTicketPathSet
public boolean isTicketPathSet()
- Specified by:
isTicketPathSet
in interfaceP4Ticket
- Returns:
- true if TicketPath is selected
-
-