| Package | Description |
|---|---|
| com.perforce.p4java.server |
Provides interfaces and classes for accessing Perforce SCM servers and associated server-level services.
|
| Modifier and Type | Method and Description |
|---|---|
static AuthTicket |
AuthTicketsHelper.getTicket(String serverAddress,
String ticketsFilePath)
Get the first found ticket in the specified ticket file that matches the
specified server address.
|
static AuthTicket |
AuthTicketsHelper.getTicket(String userName,
String serverAddress,
String ticketsFilePath)
Get the first found ticket in the specified ticket file that matches the
specified user name and server address.
|
static AuthTicket[] |
AuthTicketsHelper.getTickets(File ticketsFile)
Get all the tickets found in the specified file.
|
static AuthTicket[] |
AuthTicketsHelper.getTickets(String ticketsFilePath)
Get all the tickets found in the file at the specified file path.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
AuthTicketsHelper.saveTicket(AuthTicket ticket,
File ticketsFile)
Save the specified ticket as an entry into the specified tickets file.
|
static void |
AuthTicketsHelper.saveTicket(AuthTicket ticket,
String ticketsFilePath)
Save the specified ticket as an entry into the specified tickets file.
|
Copyright © 2017 Perforce Software. All Rights Reserved.