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


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)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, 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

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2001–2013 The Apache Software Foundation. All rights reserved.