package com.perforce.p4splunk; import javax.xml.stream.XMLStreamException; import com.perforce.p4splunk.client.AuthorisationConfig; import com.perforce.p4splunk.client.ConnectionConfig; public class Test { public static void main(String[] args) { ConnectionConfig connection = new ConnectionConfig("localhost:1666"); AuthorisationConfig auth = new AuthorisationConfig("pallen"); JournalExport jnl; try { jnl = new JournalExport(); jnl.setConnection(connection); jnl.setAuthorisation(auth); Thread t = new Thread(jnl); t.run(); } catch (XMLStreamException e) { e.printStackTrace(); return; } } }
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#2 | 10090 | Paul Allen |
Submit journal @pv@ entry as "key=value key=value etc..." + Basic password support + Journal limit and start index + Basic Journal db table filter + Open/Close the Perforce connection each iteration |
||
#1 | 10083 | Paul Allen | Added support for journal position and rotation. |