org.apache.maven.artifact.repository.layout
Class FlatRepositoryLayout

java.lang.Object
  extended by org.apache.maven.artifact.repository.layout.FlatRepositoryLayout
All Implemented Interfaces:
ArtifactRepositoryLayout

@Component(role=org.apache.maven.artifact.repository.layout.ArtifactRepositoryLayout.class,
           hint="flat")
public class FlatRepositoryLayout
extends Object
implements ArtifactRepositoryLayout

The code in this class is taken from DefaultRepositorylayout, located at: http://svn.apache.org/viewvc/maven/components/trunk/maven-artifact/src/main/java/org/apache/maven/artifact/repository/layout/DefaultRepositoryLayout.java

Version:
$Id: FlatRepositoryLayout.java 958295 2010-06-26 23:16:18Z hboutemy $

Field Summary
 
Fields inherited from interface org.apache.maven.artifact.repository.layout.ArtifactRepositoryLayout
ROLE
 
Constructor Summary
FlatRepositoryLayout()
           
 
Method Summary
 String getId()
           
 String pathOf(Artifact artifact)
           
 String pathOfLocalRepositoryMetadata(ArtifactMetadata metadata, ArtifactRepository repository)
           
 String pathOfRemoteRepositoryMetadata(ArtifactMetadata metadata)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FlatRepositoryLayout

public FlatRepositoryLayout()
Method Detail

getId

public String getId()
Specified by:
getId in interface ArtifactRepositoryLayout

pathOf

public String pathOf(Artifact artifact)
Specified by:
pathOf in interface ArtifactRepositoryLayout

pathOfLocalRepositoryMetadata

public String pathOfLocalRepositoryMetadata(ArtifactMetadata metadata,
                                            ArtifactRepository repository)
Specified by:
pathOfLocalRepositoryMetadata in interface ArtifactRepositoryLayout

pathOfRemoteRepositoryMetadata

public String pathOfRemoteRepositoryMetadata(ArtifactMetadata metadata)
Specified by:
pathOfRemoteRepositoryMetadata in interface ArtifactRepositoryLayout


Copyright © 2001-2010 The Apache Software Foundation. All Rights Reserved.