| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <!--NewPage--> |
| <HTML> |
| <HEAD> |
| <META http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <TITLE> |
| RemoteRepositoryContent (Archiva :: Modules 1.4-M4 API) |
| </TITLE> |
| |
| |
| <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"> |
| |
| <SCRIPT type="text/javascript"> |
| function windowTitle() |
| { |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="RemoteRepositoryContent (Archiva :: Modules 1.4-M4 API)"; |
| } |
| } |
| </SCRIPT> |
| <NOSCRIPT> |
| </NOSCRIPT> |
| |
| </HEAD> |
| |
| <BODY BGCOLOR="white" onload="windowTitle();"> |
| <HR> |
| |
| |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <A NAME="navbar_top"><!-- --></A> |
| <A HREF="#skip-navbar_top" title="Skip navigation links"></A> |
| <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
| <TR> |
| <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
| <A NAME="navbar_top_firstrow"><!-- --></A> |
| <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
| <TR ALIGN="center" VALIGN="top"> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
| <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/RemoteRepositoryContent.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
| </TR> |
| </TABLE> |
| </TD> |
| <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
| </EM> |
| </TD> |
| </TR> |
| |
| <TR> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../org/apache/archiva/repository/ManagedRepositoryContent.html" title="interface in org.apache.archiva.repository"><B>PREV CLASS</B></A> |
| <A HREF="../../../../org/apache/archiva/repository/RepositoryContentFactory.html" title="class in org.apache.archiva.repository"><B>NEXT CLASS</B></A></FONT></TD> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../index.html?org/apache/archiva/repository/RemoteRepositoryContent.html" target="_top"><B>FRAMES</B></A> |
| <A HREF="RemoteRepositoryContent.html" target="_top"><B>NO FRAMES</B></A> |
| <SCRIPT type="text/javascript"> |
| <!-- |
| if(window==top) { |
| document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
| } |
| //--> |
| </SCRIPT> |
| <NOSCRIPT> |
| <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> |
| </NOSCRIPT> |
| |
| |
| </FONT></TD> |
| </TR> |
| <TR> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> |
| </TR> |
| </TABLE> |
| <A NAME="skip-navbar_top"></A> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| |
| <HR> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <H2> |
| <FONT SIZE="-1"> |
| org.apache.archiva.repository</FONT> |
| <BR> |
| Interface RemoteRepositoryContent</H2> |
| <DL> |
| <DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../../../org/apache/archiva/repository/content/maven2/RemoteDefaultRepositoryContent.html" title="class in org.apache.archiva.repository.content.maven2">RemoteDefaultRepositoryContent</A>, <A HREF="../../../../org/apache/archiva/repository/content/legacy/RemoteLegacyRepositoryContent.html" title="class in org.apache.archiva.repository.content.legacy">RemoteLegacyRepositoryContent</A></DD> |
| </DL> |
| <HR> |
| <DL> |
| <DT><PRE>public interface <A HREF="../../../../src-html/org/apache/archiva/repository/RemoteRepositoryContent.html#line.33"><B>RemoteRepositoryContent</B></A></DL> |
| </PRE> |
| |
| <P> |
| RemoteRepositoryContent interface for interacting with a remote repository in an abstract way, |
| without the need for processing based on URLs, or working with the database. |
| <P> |
| |
| <P> |
| <HR> |
| |
| <P> |
| |
| <!-- ========== METHOD SUMMARY =========== --> |
| |
| <A NAME="method_summary"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
| <B>Method Summary</B></FONT></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/archiva/repository/RemoteRepositoryContent.html#getId()">getId</A></B>()</CODE> |
| |
| <BR> |
| |
| Convenience method to get the repository id.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../org/apache/archiva/admin/model/beans/RemoteRepository.html" title="class in org.apache.archiva.admin.model.beans">RemoteRepository</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/archiva/repository/RemoteRepositoryContent.html#getRepository()">getRepository</A></B>()</CODE> |
| |
| <BR> |
| Get the repository configuration associated with this |
| repository content.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../org/apache/archiva/model/RepositoryURL.html" title="class in org.apache.archiva.model">RepositoryURL</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/archiva/repository/RemoteRepositoryContent.html#getURL()">getURL</A></B>()</CODE> |
| |
| <BR> |
| |
| Convenience method to get the repository url.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/archiva/repository/RemoteRepositoryContent.html#setRepository(org.apache.archiva.admin.model.beans.RemoteRepository)">setRepository</A></B>(<A HREF="../../../../org/apache/archiva/admin/model/beans/RemoteRepository.html" title="class in org.apache.archiva.admin.model.beans">RemoteRepository</A> repo)</CODE> |
| |
| <BR> |
| Set the repository configuration to associate with this |
| repository content.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../org/apache/archiva/model/ArtifactReference.html" title="class in org.apache.archiva.model">ArtifactReference</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/archiva/repository/RemoteRepositoryContent.html#toArtifactReference(java.lang.String)">toArtifactReference</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> path)</CODE> |
| |
| <BR> |
| Given a repository relative path to a filename, return the <CODE>VersionedReference</CODE> object suitable for the path.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/archiva/repository/RemoteRepositoryContent.html#toPath(org.apache.archiva.model.ArtifactReference)">toPath</A></B>(<A HREF="../../../../org/apache/archiva/model/ArtifactReference.html" title="class in org.apache.archiva.model">ArtifactReference</A> reference)</CODE> |
| |
| <BR> |
| Given an ArtifactReference, return the relative path to the artifact.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../org/apache/archiva/model/RepositoryURL.html" title="class in org.apache.archiva.model">RepositoryURL</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/archiva/repository/RemoteRepositoryContent.html#toURL(org.apache.archiva.model.ArtifactReference)">toURL</A></B>(<A HREF="../../../../org/apache/archiva/model/ArtifactReference.html" title="class in org.apache.archiva.model">ArtifactReference</A> reference)</CODE> |
| |
| <BR> |
| Given an ArtifactReference, return the url to the artifact.</TD> |
| </TR> |
| </TABLE> |
| |
| <P> |
| |
| <!-- ============ METHOD DETAIL ========== --> |
| |
| <A NAME="method_detail"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
| <B>Method Detail</B></FONT></TH> |
| </TR> |
| </TABLE> |
| |
| <A NAME="getId()"><!-- --></A><H3> |
| getId</H3> |
| <PRE> |
| <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <A HREF="../../../../src-html/org/apache/archiva/repository/RemoteRepositoryContent.html#line.46"><B>getId</B></A>()</PRE> |
| <DL> |
| <DD><p> |
| Convenience method to get the repository id. |
| </p> |
| |
| <p> |
| Equivalent to calling <code>.getRepository().getId()</code> |
| </p> |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>the repository id.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getRepository()"><!-- --></A><H3> |
| getRepository</H3> |
| <PRE> |
| <A HREF="../../../../org/apache/archiva/admin/model/beans/RemoteRepository.html" title="class in org.apache.archiva.admin.model.beans">RemoteRepository</A> <A HREF="../../../../src-html/org/apache/archiva/repository/RemoteRepositoryContent.html#line.54"><B>getRepository</B></A>()</PRE> |
| <DL> |
| <DD>Get the repository configuration associated with this |
| repository content. |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>the repository that is associated with this repository content.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getURL()"><!-- --></A><H3> |
| getURL</H3> |
| <PRE> |
| <A HREF="../../../../org/apache/archiva/model/RepositoryURL.html" title="class in org.apache.archiva.model">RepositoryURL</A> <A HREF="../../../../src-html/org/apache/archiva/repository/RemoteRepositoryContent.html#line.67"><B>getURL</B></A>()</PRE> |
| <DL> |
| <DD><p> |
| Convenience method to get the repository url. |
| </p> |
| |
| <p> |
| Equivalent to calling <code>new RepositoryURL( this.getRepository().getUrl() )</code> |
| </p> |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>the repository url.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setRepository(org.apache.archiva.admin.model.beans.RemoteRepository)"><!-- --></A><H3> |
| setRepository</H3> |
| <PRE> |
| void <A HREF="../../../../src-html/org/apache/archiva/repository/RemoteRepositoryContent.html#line.75"><B>setRepository</B></A>(<A HREF="../../../../org/apache/archiva/admin/model/beans/RemoteRepository.html" title="class in org.apache.archiva.admin.model.beans">RemoteRepository</A> repo)</PRE> |
| <DL> |
| <DD>Set the repository configuration to associate with this |
| repository content. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>repo</CODE> - the repository to associate with this repository content.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="toArtifactReference(java.lang.String)"><!-- --></A><H3> |
| toArtifactReference</H3> |
| <PRE> |
| <A HREF="../../../../org/apache/archiva/model/ArtifactReference.html" title="class in org.apache.archiva.model">ArtifactReference</A> <A HREF="../../../../src-html/org/apache/archiva/repository/RemoteRepositoryContent.html#line.85"><B>toArtifactReference</B></A>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> path) |
| throws <A HREF="../../../../org/apache/archiva/repository/layout/LayoutException.html" title="class in org.apache.archiva.repository.layout">LayoutException</A></PRE> |
| <DL> |
| <DD>Given a repository relative path to a filename, return the <CODE>VersionedReference</CODE> object suitable for the path. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>path</CODE> - the path relative to the repository base dir for the artifact. |
| <DT><B>Returns:</B><DD>the <A HREF="../../../../org/apache/archiva/model/ArtifactReference.html" title="class in org.apache.archiva.model"><CODE>ArtifactReference</CODE></A> representing the path. (or null if path cannot be converted to |
| a <A HREF="../../../../org/apache/archiva/model/ArtifactReference.html" title="class in org.apache.archiva.model"><CODE>ArtifactReference</CODE></A>) |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../../org/apache/archiva/repository/layout/LayoutException.html" title="class in org.apache.archiva.repository.layout">LayoutException</A></CODE> - if there was a problem converting the path to an artifact.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="toPath(org.apache.archiva.model.ArtifactReference)"><!-- --></A><H3> |
| toPath</H3> |
| <PRE> |
| <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <A HREF="../../../../src-html/org/apache/archiva/repository/RemoteRepositoryContent.html#line.94"><B>toPath</B></A>(<A HREF="../../../../org/apache/archiva/model/ArtifactReference.html" title="class in org.apache.archiva.model">ArtifactReference</A> reference)</PRE> |
| <DL> |
| <DD>Given an ArtifactReference, return the relative path to the artifact. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>reference</CODE> - the artifact reference to use. |
| <DT><B>Returns:</B><DD>the relative path to the artifact.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="toURL(org.apache.archiva.model.ArtifactReference)"><!-- --></A><H3> |
| toURL</H3> |
| <PRE> |
| <A HREF="../../../../org/apache/archiva/model/RepositoryURL.html" title="class in org.apache.archiva.model">RepositoryURL</A> <A HREF="../../../../src-html/org/apache/archiva/repository/RemoteRepositoryContent.html#line.102"><B>toURL</B></A>(<A HREF="../../../../org/apache/archiva/model/ArtifactReference.html" title="class in org.apache.archiva.model">ArtifactReference</A> reference)</PRE> |
| <DL> |
| <DD>Given an ArtifactReference, return the url to the artifact. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>reference</CODE> - the artifact reference to use. |
| <DT><B>Returns:</B><DD>the relative path to the artifact.</DL> |
| </DD> |
| </DL> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <HR> |
| |
| |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <A NAME="navbar_bottom"><!-- --></A> |
| <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
| <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
| <TR> |
| <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
| <A NAME="navbar_bottom_firstrow"><!-- --></A> |
| <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
| <TR ALIGN="center" VALIGN="top"> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
| <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/RemoteRepositoryContent.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
| </TR> |
| </TABLE> |
| </TD> |
| <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
| </EM> |
| </TD> |
| </TR> |
| |
| <TR> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../org/apache/archiva/repository/ManagedRepositoryContent.html" title="interface in org.apache.archiva.repository"><B>PREV CLASS</B></A> |
| <A HREF="../../../../org/apache/archiva/repository/RepositoryContentFactory.html" title="class in org.apache.archiva.repository"><B>NEXT CLASS</B></A></FONT></TD> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../index.html?org/apache/archiva/repository/RemoteRepositoryContent.html" target="_top"><B>FRAMES</B></A> |
| <A HREF="RemoteRepositoryContent.html" target="_top"><B>NO FRAMES</B></A> |
| <SCRIPT type="text/javascript"> |
| <!-- |
| if(window==top) { |
| document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
| } |
| //--> |
| </SCRIPT> |
| <NOSCRIPT> |
| <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> |
| </NOSCRIPT> |
| |
| |
| </FONT></TD> |
| </TR> |
| <TR> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> |
| </TR> |
| </TABLE> |
| <A NAME="skip-navbar_bottom"></A> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| |
| <HR> |
| Copyright © 2006-2013 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved. |
| </BODY> |
| </HTML> |