站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss RULES 4.0.0.11754MR2 API 英文版文档

ScmActionFactory (Drools 4.0.0.11754MR2 API) - JBoss RULES 4.0.0.11754MR2 API 英文版文档


org.drools.scm
Interface ScmActionFactory

All Known Implementing Classes:
JcrActionFactory, SvnActionFactory

public interface ScmActionFactory


Method Summary
 ScmAction addDirectory(String root, String path)
           
 ScmAction addFile(String path, String file, byte[] content)
           
 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()
           
 List listEntries(String path)
           
 ScmAction moveDirectory(String path, String newPath, long revision)
           
 ScmAction moveFile(String path, String file, String newPath, String newFile, long revision)
           
 ScmAction updateFile(String path, String file, byte[] oldContent, byte[] newContent)
           
 

Method Detail

getLatestRevision

long getLatestRevision()
                       throws Exception
Throws:
Exception

addFile

ScmAction addFile(String path,
                  String file,
                  byte[] content)

addDirectory

ScmAction addDirectory(String root,
                       String path)

updateFile

ScmAction updateFile(String path,
                     String file,
                     byte[] oldContent,
                     byte[] newContent)

copyFile

ScmAction copyFile(String path,
                   String file,
                   String newPath,
                   String newFile,
                   long revision)

copyDirectory

ScmAction copyDirectory(String path,
                        String newPath,
                        long revision)

moveFile

ScmAction moveFile(String path,
                   String file,
                   String newPath,
                   String newFile,
                   long revision)

moveDirectory

ScmAction moveDirectory(String path,
                        String newPath,
                        long revision)

deleteFile

ScmAction deleteFile(String path,
                     String file)

deleteDirectory

ScmAction deleteDirectory(String path)

execute

void execute(ScmAction action,
             String message)
             throws Exception
Throws:
Exception

getContent

void getContent(String path,
                String file,
                long revision,
                OutputStream os)
                throws Exception
Throws:
Exception

listEntries

List listEntries(String path)
                 throws Exception
Throws:
Exception


Copyright © 2001-2007 JBoss Inc.. All Rights Reserved.