当前页面:
在线文档首页 >
JBoss RULES 4.0.0.11754MR2 API 英文版文档
SvnActionFactory (Drools 4.0.0.11754MR2 API) - JBoss RULES 4.0.0.11754MR2 API 英文版文档
org.drools.scm.svn
Class SvnActionFactory
java.lang.Object
org.drools.scm.svn.SvnActionFactory
- All Implemented Interfaces:
- ScmActionFactory
public class SvnActionFactory
- extends Object
- implements ScmActionFactory
Method Summary |
ScmAction |
addDirectory(String root,
String path)
|
ScmAction |
addFile(String path,
String file,
byte[] content)
|
static void |
closeDirectories(org.tmatesoft.svn.core.io.ISVNEditor editor,
String path)
|
ScmAction |
copyDirectory(String path,
String newPath,
long revision)
|
ScmAction |
copyFile(String path,
String file,
String newPath,
String newFile,
long revision)
|
ScmAction |
deleteDirectory(String path)
|
ScmAction |
deleteFile(String path,
String file)
|
void |
execute(ScmAction action,
String message)
|
void |
getContent(String path,
String file,
long revision,
OutputStream os)
|
long |
getLatestRevision()
|
org.tmatesoft.svn.core.io.SVNRepository |
getSVNRepository()
|
List |
listEntries(String path)
|
void |
listEntries(String path,
List list)
|
List |
log(String[] paths,
long startRevision,
long endRevision)
|
ScmAction |
moveDirectory(String path,
String newPath,
long revision)
|
ScmAction |
moveFile(String path,
String file,
String newPath,
String newFile,
long revision)
|
static void |
openDirectories(org.tmatesoft.svn.core.io.ISVNEditor editor,
String path)
|
ScmAction |
updateFile(String path,
String file,
byte[] oldContent,
byte[] newContent)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SvnActionFactory
public SvnActionFactory(String url,
String svnUsername,
String svnPassword)
throws Exception
- Throws:
Exception
getSVNRepository
public org.tmatesoft.svn.core.io.SVNRepository getSVNRepository()
addDirectory
public ScmAction addDirectory(String root,
String path)
- Specified by:
addDirectory
in interface ScmActionFactory
addFile
public ScmAction addFile(String path,
String file,
byte[] content)
- Specified by:
addFile
in interface ScmActionFactory
copyDirectory
public ScmAction copyDirectory(String path,
String newPath,
long revision)
- Specified by:
copyDirectory
in interface ScmActionFactory
copyFile
public ScmAction copyFile(String path,
String file,
String newPath,
String newFile,
long revision)
- Specified by:
copyFile
in interface ScmActionFactory
deleteDirectory
public ScmAction deleteDirectory(String path)
- Specified by:
deleteDirectory
in interface ScmActionFactory
deleteFile
public ScmAction deleteFile(String path,
String file)
- Specified by:
deleteFile
in interface ScmActionFactory
moveDirectory
public ScmAction moveDirectory(String path,
String newPath,
long revision)
- Specified by:
moveDirectory
in interface ScmActionFactory
moveFile
public ScmAction moveFile(String path,
String file,
String newPath,
String newFile,
long revision)
- Specified by:
moveFile
in interface ScmActionFactory
updateFile
public ScmAction updateFile(String path,
String file,
byte[] oldContent,
byte[] newContent)
- Specified by:
updateFile
in interface ScmActionFactory
getContent
public void getContent(String path,
String file,
long revision,
OutputStream os)
throws org.tmatesoft.svn.core.SVNException
- Specified by:
getContent
in interface ScmActionFactory
- Throws:
org.tmatesoft.svn.core.SVNException
log
public List log(String[] paths,
long startRevision,
long endRevision)
throws org.tmatesoft.svn.core.SVNException
- Throws:
org.tmatesoft.svn.core.SVNException
getLatestRevision
public long getLatestRevision()
throws Exception
- Specified by:
getLatestRevision
in interface ScmActionFactory
- Throws:
Exception
execute
public void execute(ScmAction action,
String message)
throws Exception
- Specified by:
execute
in interface ScmActionFactory
- Throws:
Exception
openDirectories
public static void openDirectories(org.tmatesoft.svn.core.io.ISVNEditor editor,
String path)
throws org.tmatesoft.svn.core.SVNException
- Throws:
org.tmatesoft.svn.core.SVNException
closeDirectories
public static void closeDirectories(org.tmatesoft.svn.core.io.ISVNEditor editor,
String path)
throws org.tmatesoft.svn.core.SVNException
- Throws:
org.tmatesoft.svn.core.SVNException
listEntries
public List listEntries(String path)
throws org.tmatesoft.svn.core.SVNException
- Specified by:
listEntries
in interface ScmActionFactory
- Throws:
org.tmatesoft.svn.core.SVNException
listEntries
public void listEntries(String path,
List list)
throws org.tmatesoft.svn.core.SVNException
- Throws:
org.tmatesoft.svn.core.SVNException
Copyright © 2001-2007
JBoss Inc.. All Rights Reserved.