package org.jenkinsci.plugins.p4_client.credentials; import hudson.Extension; import hudson.model.AbstractDescribableImpl; import hudson.model.Descriptor; import org.kohsuke.stapler.DataBoundConstructor; import edu.umd.cs.findbugs.annotations.CheckForNull; import edu.umd.cs.findbugs.annotations.NonNull; public class TicketMode extends AbstractDescribableImpl<TicketMode> { @NonNull private final String value; @NonNull private final String ticketValue; @NonNull private final String ticketPath; @DataBoundConstructor public TicketMode(@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 "ticketValueSet".equals(value); } public boolean isTicketPathSet() { return "ticketPathSet".equals(value); } @Extension public static class DescriptorImpl extends Descriptor<TicketMode> { @Override public String getDisplayName() { return "TicketMode"; } } }
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#2 | 8639 | Paul Allen |
Added hint URL to Credentials page when no Credentials are defined. Minor refactor and UX changes. |
||
#1 | 8629 | Paul Allen |
Added p4java with connection/authorisation helper classes. Included SSL support and detection of Unicode servers. |