public abstract class VCSFileContentProvider
extends oracle.ide.vcscore.FileContentProvider
Constructor and Description |
---|
VCSFileContentProvider() |
Modifier and Type | Method and Description |
---|---|
java.io.ByteArrayOutputStream |
getContent(java.io.InputStream is) |
abstract java.util.Collection<VCSFile> |
getFiles(java.util.Map<java.lang.String,java.lang.String> params,
java.lang.String fromRevision,
java.lang.String toRevision)
Get all modified/added/deleted file details at the from revision and compare to to revision
|
abstract java.util.Collection<VCSModifiedFile> |
getModifiedFiles(Context context,
java.util.Map<java.lang.String,java.lang.String> metadata)
Get a list of the modified files in the transaction/working copy
|
abstract java.lang.String |
getRevision(java.net.URL url)
Get the revision of the url usually the base revision
|
abstract java.util.Collection<VCSRevision> |
getRevisions(java.util.Map<java.lang.String,java.lang.String> params,
java.lang.String fromRevision,
int maxCount)
Get all revision details starting at the from revision
|
static VCSFileContentProvider |
lookupProvider(java.lang.String vcsId) |
public abstract java.lang.String getRevision(java.net.URL url) throws java.lang.Exception
url
- java.lang.Exception
public abstract java.util.Collection<VCSRevision> getRevisions(java.util.Map<java.lang.String,java.lang.String> params, java.lang.String fromRevision, int maxCount) throws java.lang.Exception
params
- connection detailsfromRevision
- from revisionmaxCount
- maximum number of revisions to getjava.lang.Exception
public abstract java.util.Collection<VCSFile> getFiles(java.util.Map<java.lang.String,java.lang.String> params, java.lang.String fromRevision, java.lang.String toRevision) throws java.lang.Exception
params
- connection detailsfromRevision
- from revsiontoRevision
- to revisionjava.lang.Exception
public abstract java.util.Collection<VCSModifiedFile> getModifiedFiles(Context context, java.util.Map<java.lang.String,java.lang.String> metadata) throws java.lang.Exception
context
- used to determine which working copy to list files formetadata
- transaction details - comments, transaction name, bugs etcjava.lang.Exception
public static final VCSFileContentProvider lookupProvider(java.lang.String vcsId)
public java.io.ByteArrayOutputStream getContent(java.io.InputStream is) throws java.io.IOException
java.io.IOException