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

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

@Component(role=ArtifactRepositoryLayout.class,
           hint="default")
public class DefaultRepositoryLayout
extends Object
implements ArtifactRepositoryLayout

Author:
jdcasey

Field Summary
 
Fields inherited from interface org.apache.maven.artifact.repository.layout.ArtifactRepositoryLayout
ROLE
 
Constructor Summary
DefaultRepositoryLayout()
           
 
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

DefaultRepositoryLayout

public DefaultRepositoryLayout()
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.