org.eclipse.jgit.iplog
Class IpLogMeta

java.lang.Object
  extended by org.eclipse.jgit.iplog.IpLogMeta

public class IpLogMeta
extends Object

Manages the .eclipse_iplog file in a project.


Field Summary
static String IPLOG_CONFIG_FILE
          Default name of the .eclipse_iplog file.
 
Constructor Summary
IpLogMeta()
           
 
Method Summary
 void syncCQs(File file, FS fs, URL base, String username, String password)
          Query the Eclipse Foundation's IPzilla database for CQ records.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

IPLOG_CONFIG_FILE

public static final String IPLOG_CONFIG_FILE
Default name of the .eclipse_iplog file.

See Also:
Constant Field Values
Constructor Detail

IpLogMeta

public IpLogMeta()
Method Detail

syncCQs

public void syncCQs(File file,
                    FS fs,
                    URL base,
                    String username,
                    String password)
             throws IOException,
                    ConfigInvalidException
Query the Eclipse Foundation's IPzilla database for CQ records.

Updates the local .eclipse_iplog configuration file with current information by deleting CQs which are no longer relevant, and adding or updating any CQs which currently exist in the database.

Parameters:
file - local file to update with current CQ records.
fs - the file system abstraction which will be necessary to perform certain file system operations.
base - base https:// URL of the IPzilla server.
username - username to login to IPzilla as. Must be a Bugzilla username of someone authorized to query the project's IPzilla records.
password - password for username.
Throws:
IOException - IPzilla cannot be queried, or the local file cannot be read from or written to.
ConfigInvalidException - the local file cannot be read, as it is not a valid configuration file format.


Copyright © 2011. All Rights Reserved.