package org.jenkinsci.plugins.p4.credentials; import jenkins.model.Jenkins; 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) Jenkins.getInstance() .getDescriptorOrDie(getClass()); } }
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 12955 | Sven Erik Knop | Branching using sknop.p4jenkins-main | ||
//guest/perforce_software/p4jenkins/main/src/main/java/org/jenkinsci/plugins/p4/credentials/P4Credentials.java | |||||
#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 |