package org.jenkinsci.plugins.p4.credentials; import hudson.model.Hudson; import org.kohsuke.stapler.export.ExportedBean; import com.cloudbees.plugins.credentials.Credentials; import com.cloudbees.plugins.credentials.CredentialsDescriptor; import com.cloudbees.plugins.credentials.CredentialsScope; import edu.umd.cs.findbugs.annotations.CheckForNull; import edu.umd.cs.findbugs.annotations.NonNull; @ExportedBean public class P4Credentials implements Credentials { private static final long serialVersionUID = 1L; @CheckForNull private final CredentialsScope scope; protected P4Credentials() { this.scope = null; } /** * Create instance with specified scope. * * @param scope */ public P4Credentials(@CheckForNull CredentialsScope scope) { this.scope = scope; } @CheckForNull public CredentialsScope getScope() { return scope; } @NonNull public CredentialsDescriptor getDescriptor() { return (CredentialsDescriptor) Hudson.getInstance().getDescriptorOrDie( getClass()); } }
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#6 | 26617 | Paul Allen |
Prevent `ssl:` string from appearing in the P4PORT Jelly field. Jelly uses getP4port() method for binding the fields; adding the ssl prefix was causing issues. JENKINS-63246 |
||
#5 | 26359 | matthew_smeeth |
Removed "isSsl()" method from P4Credentials due to it causing an issue with JCasC plugin. JENKINS-58249 |
||
#4 | 20598 | Paul Allen |
P4Credentials Interfaces for Mixins. Updated test cases to match changes from CredentialsNameProvider. @stephenc |
||
#3 | 15656 | Paul Allen |
Updated credentials to extend BaseStandardCredentials. Allows users to set the ID at creation. JENKINS-29702 |
||
#2 | 12888 | Paul Allen |
Merged Pull#11 @rpocase [JENKINS-28213] Force syncing a workspace that does not exist on the filesystem causes a FileNotFoundException. - Tidy up imports and white space |
||
#1 | 9690 | Paul Allen |
[Branching using p4-jenkins] Release 1.0.1 |
||
//guest/paul_allen/dev/p4-jenkins/p4-client/src/main/java/org/jenkinsci/plugins/p4/credentials/P4Credentials.java | |||||
#1 | 9672 | Paul Allen | Refactor name from 'p4_client' to 'p4'. | ||
//guest/paul_allen/dev/p4-jenkins/p4-client/src/main/java/org/jenkinsci/plugins/p4_client/credentials/P4Credentials.java | |||||
#1 | 8611 | Paul Allen | Basic implementation of Credentials Store |