org.apache.maven.perforcelib
Class PerforceChangeLogFactory

java.lang.Object
  extended byorg.apache.maven.perforcelib.PerforceChangeLogFactory
All Implemented Interfaces:
ChangeLogFactory

public class PerforceChangeLogFactory
extends Object
implements ChangeLogFactory

Provides Perforce specific instances of the ChangeLogGenerator and ChangeLogParser interfaces. It expects the repository connection element in the POM to be of this form: scm:perforce[:P4PORT]:FILESPEC. If the P4PORT is omitted, the corresponding environment variable will be used. The FILESPEC should use "depot syntax" with the appropriate Perforce wildcards to represent all of the project's files, i.e. '...' The repository URL element should refer to a p4web instance. The portion of the URL following the host:port should match the FILESPEC in the repository connection element, sans the '...'. It must end with a '/'. For example,

 <repository>
   <connection>
     scm:perforce:some.host.com:1666://depot/projects/maven/...
   </connection>
   <url>
     http://public.perforce.com:8080//depot/projects/maven/
   </url>
 </repository>
 

Version:
$Id:
Author:
Jim Crossley

Constructor Summary
PerforceChangeLogFactory()
          Default no-arg constructor.
 
Method Summary
 ChangeLogGenerator createGenerator()
          Create a Perforce specific ChangeLogGenerator.
 ChangeLogParser createParser()
          Create a Perforce specific ChangeLogParser.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PerforceChangeLogFactory

public PerforceChangeLogFactory()
Default no-arg constructor.

Method Detail

createGenerator

public ChangeLogGenerator createGenerator()
Create a Perforce specific ChangeLogGenerator.

Specified by:
createGenerator in interface ChangeLogFactory
Returns:
a Perforce specific ChangeLogGenerator.

createParser

public ChangeLogParser createParser()
Create a Perforce specific ChangeLogParser.

Specified by:
createParser in interface ChangeLogFactory
Returns:
a Perforce specific ChangeLogParser.


Copyright © 2001-2007 Apache Software Foundation. All Rights Reserved.