| Package | Description |
|---|---|
| com.perforce.p4java.impl.mapbased.rpc | |
| com.perforce.p4java.server |
Provides interfaces and classes for accessing Perforce SCM servers and associated server-level services.
|
| Modifier and Type | Method and Description |
|---|---|
Fingerprint |
RpcServer.loadFingerprint(String serverIpPort,
String fingerprintUser)
Get the p4trust entry value for the server IP and port based upon a
search of either the file found at
PropertyDefs.TRUST_PATH_KEY_SHORT_FORM,
PropertyDefs.TRUST_PATH_KEY, the P4TRUST environment variable or
the standard p4trust file location for the current OS. |
Fingerprint[] |
RpcServer.loadFingerprints()
Get the p4trust entries from the file found at
PropertyDefs.TRUST_PATH_KEY_SHORT_FORM,
PropertyDefs.TRUST_PATH_KEY, the P4TRUST environment variable or
the standard p4trust file location for the current OS. |
| Modifier and Type | Method and Description |
|---|---|
List<Fingerprint> |
RpcServer.getTrusts() |
List<Fingerprint> |
RpcServer.getTrusts(TrustOptions opts) |
| Modifier and Type | Method and Description |
|---|---|
static Fingerprint |
FingerprintsHelper.getFingerprint(String serverAddress,
String trustFilePath)
Get the first found fingerprint in the specified fingerprint file that
matches the specified server address.
|
static Fingerprint |
FingerprintsHelper.getFingerprint(String userName,
String serverAddress,
String trustFilePath)
Get the first found fingerprint in the specified trust file that matches
the specified user name and server address.
|
static Fingerprint[] |
FingerprintsHelper.getFingerprints(File trustFile)
Get all the fingerprints found in the specified file.
|
static Fingerprint[] |
FingerprintsHelper.getFingerprints(String trustFilePath)
Get all the fingerprints found in the file at the specified file path.
|
| Modifier and Type | Method and Description |
|---|---|
List<Fingerprint> |
IOptionsServer.getTrusts()
List all fingerprints in the trust file.
|
List<Fingerprint> |
IOptionsServer.getTrusts(TrustOptions opts)
List all fingerprints or replacements in the trust file.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
FingerprintsHelper.saveFingerprint(Fingerprint fingerprint,
File trustFile)
Save the specified fingerprint as an entry into the specified trust file.
|
static void |
FingerprintsHelper.saveFingerprint(Fingerprint fingerprint,
String trustFilePath)
Save the specified fingerprint as an entry into the specified trust file.
|
Copyright © 2017 Perforce Software. All Rights Reserved.