Package | Description |
---|---|
com.perforce.p4java |
Defines the root of the Perforce P4Java API product package hierarchy and a small handful of useful product-wide
definitions and services such as loggers, tracers, and product metadata.
|
com.perforce.p4java.server.callback |
Provides interfaces and classes for defining and accessing Perforce server callbacks
for things like logging, command progress, single sign on (SSO) authentication, etc.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
Tracer.isTracingAtLevel(ILogCallback.LogTraceLevel traceLevel) |
static boolean |
Log.isTracingAtLevel(ILogCallback.LogTraceLevel traceLevel)
Return true if the
|
static void |
Tracer.trace(ILogCallback.LogTraceLevel traceLevel,
String msg) |
static void |
Log.trace(ILogCallback.LogTraceLevel traceLevel,
String traceMessage)
Report a P4Java-internal trace message to the log callback
(if it exists).
|
Modifier and Type | Method and Description |
---|---|
ILogCallback.LogTraceLevel |
ILogCallback.getTraceLevel()
Return the trace level being used in the callback.
|
static ILogCallback.LogTraceLevel |
ILogCallback.LogTraceLevel.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ILogCallback.LogTraceLevel[] |
ILogCallback.LogTraceLevel.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
ILogCallback.internalTrace(ILogCallback.LogTraceLevel traceLevel,
String traceMessage)
Report an internal P4Java trace message at the passed-in trace level.
|
Copyright © 2017 Perforce Software. All Rights Reserved.