package org.jenkinsci.plugins.p4.credentials; import hudson.Extension; import hudson.model.AbstractDescribableImpl; import hudson.model.Descriptor; import java.io.Serializable; import org.kohsuke.stapler.DataBoundConstructor; import edu.umd.cs.findbugs.annotations.CheckForNull; import edu.umd.cs.findbugs.annotations.NonNull; public class TicketModeImpl extends AbstractDescribableImpl<TicketModeImpl> implements Serializable { private static final long serialVersionUID = 1L; @NonNull private final String value; @NonNull private final String ticketValue; @NonNull private final String ticketPath; @DataBoundConstructor public TicketModeImpl(@CheckForNull String value, @CheckForNull String ticketValue, @CheckForNull String ticketPath) { this.value = value; this.ticketValue = ticketValue; this.ticketPath = ticketPath; } @NonNull public String getValue() { return value; } @NonNull public String getTicketValue() { return ticketValue; } @NonNull public String getTicketPath() { return ticketPath; } public boolean isTicketValueSet() { return getTicketValue() != null; } public boolean isTicketPathSet() { return getTicketValue() == null; } @Extension public static class DescriptorImpl extends Descriptor<TicketModeImpl> { @Override public String getDisplayName() { return "TicketMode"; } } }
# | 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/TicketModeImpl.java | |||||
#3 | 11443 | Paul Allen |
Workaround for Jelly bug. Perforce Credentials for Ticket value/path Jelly was not reporting the selected 'radioBlock'. |
||
#2 | 9977 | Paul Allen |
Serialisation fix for Credentials Missing `Serializable` implementation https://issues.jenkins-ci.org/browse/JENKINS-24188 |
||
#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/TicketModeImpl.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/TicketModeImpl.java | |||||
#1 | 8639 | Paul Allen |
Added hint URL to Credentials page when no Credentials are defined. Minor refactor and UX changes. |
||
//guest/paul_allen/dev/p4-jenkins/p4-client/src/main/java/org/jenkinsci/plugins/p4_client/credentials/TicketMode.java | |||||
#1 | 8629 | Paul Allen |
Added p4java with connection/authorisation helper classes. Included SSL support and detection of Unicode servers. |