com.perforce.p4java
Class Metadata

java.lang.Object
  extended by com.perforce.p4java.Metadata

public class Metadata
extends java.lang.Object

Defines public version, date, etc., metadata about the P4Java API.

The version strings are mostly intended for debugging and logging purposes, meaning the format and semantics of much of the data here is intentionally opaque.


Field Summary
static int DEFAULT_MINIMUM_SUPPORTED_SERVER_VERSION
          The default minimum Perforce server level supported by the entire P4Java API.
static java.lang.String P4JAVA_PROPS_KEY_PREFIX
          The Java properties key prefix use to pick up P4Java properties from the passed-in properties, etc.
 
Constructor Summary
Metadata()
           
 
Method Summary
static java.lang.String getP4JDateString()
          Return the P4Java date string associated with this instance.
static java.lang.String getP4JVersionString()
          Return the P4Java version string associated with this instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

P4JAVA_PROPS_KEY_PREFIX

public static final java.lang.String P4JAVA_PROPS_KEY_PREFIX
The Java properties key prefix use to pick up P4Java properties from the passed-in properties, etc.

See Also:
Constant Field Values

DEFAULT_MINIMUM_SUPPORTED_SERVER_VERSION

public static final int DEFAULT_MINIMUM_SUPPORTED_SERVER_VERSION
The default minimum Perforce server level supported by the entire P4Java API. Specific implementations may override this.

See Also:
Constant Field Values
Constructor Detail

Metadata

public Metadata()
Method Detail

getP4JVersionString

public static java.lang.String getP4JVersionString()
Return the P4Java version string associated with this instance.

The format and semantics of this string are not specified here.

Returns:
non-null version string

getP4JDateString

public static java.lang.String getP4JDateString()
Return the P4Java date string associated with this instance.

The format and semantics of this string are not specified here.

Returns:
non-null date string


Copyright (c) 2008-2010 Perforce Software. All rights reserved.