| 限定符和类型 | 方法和说明 |
|---|---|
static Result |
Result.getError(String errmsg)
得到错误的结果
|
static Result |
Result.getFromJson(String jsonStr)
{"message":"操作成功","except":"no","suc":true}
|
static Result |
Result.getSuc()
得到成功的返回结果,单例
|
static Result |
Result.getSuc(String sucInfo) |
Result |
Result.setRetObjs(Object... retObjs)
设置返回值
|
| 限定符和类型 | 方法和说明 |
|---|---|
Result |
LdapObj.addOUSingle(String ou)
添加单个OU
|
Result |
GrokObj.addPattern(String name,
String pattern) |
Result |
GrokObj.addPatternFile(GrokObj.PatternType path) |
<T> Result |
GrokObj.addPatternFile(String path) |
<T> Result |
GrokObj.addPatternFile(String path,
Class<T> classz) |
Result |
LdapObj.addUser(String uid,
String ou,
Map<String,String> usermap)
添加用户
|
Result |
SVNUtil.commit(org.tmatesoft.svn.core.wc.SVNClientManager clientManager,
File wcPath,
boolean keepLocks,
String commitMessage)
Commit work copy's change to svn
|
static Result |
ReflectAssist.copyProperties(Object dest,
Object orig)
复制对象
|
Result |
SVNUtil.merge(org.tmatesoft.svn.core.wc.SVNClientManager clientManager,
File workDir,
String svnUrl,
boolean commit)
合并分支
|
Result |
SVNUtil.overWrite(org.tmatesoft.svn.core.wc.SVNClientManager clientManager,
File workDir,
String svnUrl)
把当前目录的文件强制更新到其它分支
|
| 限定符和类型 | 方法和说明 |
|---|---|
Result |
IBinlogRead.checkHead() |
Result |
Dump.login(String user,
String pwd,
String defaultSchema) |
Result |
IEventRead.parseBody(ISender... senders)
Result读事件结果,返回的参数中 ret[0] 事件的头 …………
|
static Result |
MBeanUtil.stopTask(JMXConnector conn)
停止服务
|
| 限定符和类型 | 方法和说明 |
|---|---|
Result |
XidEvent.parseBody(ISender... senders) |
Result |
TableMapEvent.parseBody(ISender... senders) |
Result |
StopEvent.parseBody(ISender... senders) |
Result |
RotateEvent.parseBody(ISender... senders) |
Result |
QueryEvent.parseBody(ISender... senders) |
Result |
ParserNo.parseBody(ISender... senders) |
Result |
GtidEvent.parseBody(ISender... senders) |
Result |
FormatDescription.parseBody(ISender... senders) |
| 限定符和类型 | 方法和说明 |
|---|---|
Result |
RowsEvent.parseBody(ISender... senders) |
| 限定符和类型 | 方法和说明 |
|---|---|
Result |
BinglogReadDump.checkHead()
不用检查魔数,因为dump不支持小于4的pos
|
Result |
BinglogReadByFile.checkHead() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected abstract Result |
AbsPacketWrite.check() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected Result |
SecurePasswordAuthenticationPacket.check() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected Result |
SingleCommand.check() |
protected Result |
ComQuery.check() |
protected Result |
ComInitDb.check() |
protected Result |
ComBinlogDumpGtid.check() |
protected Result |
ComBinlogDump.check() |
| 限定符和类型 | 方法和说明 |
|---|---|
Result |
ISender.sendMsg(SendBean sendBean) |
Result |
AbsSender.sendMsg(SendBean sendBean) |
abstract Result |
AbsSender.sendMsgSub(SendBean sendBean) |
| 限定符和类型 | 方法和说明 |
|---|---|
Result |
SenderRedis.sendMsgSub(SendBean sendBean) |
Result |
LogFile.sendMsgSub(SendBean sendBean) |
| 限定符和类型 | 方法和说明 |
|---|---|
Result |
ITaskConf.updateCountNum(CountNum countNum)
更新统计信息
|
Result |
ITaskConf.updatePos(Pos pos)
更新位点信息
|
| 限定符和类型 | 方法和说明 |
|---|---|
Result |
ZookeeperImpl.updateCountNum(CountNum countNum) |
Result |
ZookeeperImpl.updatePos(Pos pos) |
| 限定符和类型 | 方法和说明 |
|---|---|
Result |
IOpt.opt(V enumObj,
Object... params) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected Result |
ParserDynaClassProperty.doBytes(Object... param) |
protected abstract Result |
OptAbsColType.doBytes(Object... param) |
protected Result |
ParserDynaClassProperty.doDatetime(Object... param) |
protected abstract Result |
OptAbsColType.doDatetime(Object... param) |
protected Result |
ParserDynaClassProperty.doDynaBean(Object... param) |
protected abstract Result |
OptAbsColType.doDynaBean(Object... param) |
protected Result |
ParserDynaClassProperty.doEnums(Object... param) |
protected abstract Result |
OptAbsColType.doEnums(Object... param) |
protected Result |
ParserDynaClassProperty.doInteger(Object... param) |
protected abstract Result |
OptAbsColType.doInteger(Object... param) |
protected Result |
ParserDynaClassProperty.doJavaBean(Object... param) |
protected abstract Result |
OptAbsColType.doJavaBean(Object... param) |
protected Result |
ParserDynaClassProperty.doString(Object... param) |
protected abstract Result |
OptAbsColType.doString(Object... param) |
Result |
OptAbsColType.opt(ColType enumObj,
Object... params) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected abstract Result |
OptAbsGType.doArray(Object param) |
protected abstract Result |
OptAbsGType.doList(Object param) |
protected abstract Result |
OptAbsGType.doMap(Object param) |
protected abstract Result |
OptAbsGType.doSingle(Object param) |
Result |
OptAbsGType.opt(ColGType enumObj,
Object... params) |
| 限定符和类型 | 方法和说明 |
|---|---|
Result |
CusDynaBean.checkFields() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected Result |
StringHandler.checkSingleValue(Object value) |
protected Result |
JavaBeanHandler.checkSingleValue(Object value) |
protected Result |
IntegerHandler.checkSingleValue(Object value) |
protected Result |
EnumHandler.checkSingleValue(Object value) |
protected Result |
DynaBeanHandler.checkSingleValue(Object value) |
protected Result |
DateHandler.checkSingleValue(Object value) |
protected Result |
BytesHandler.checkSingleValue(Object value) |
protected abstract Result |
AbstractDynaClassProperty.checkSingleValue(Object value) |
Result |
AbstractDynaClassProperty.checkValue(Object value)
检查传进来的值合法性
|
| 限定符和类型 | 方法和说明 |
|---|---|
Result |
IFlow.buildFlow() |
Result |
AbsFlow.buildFlow() |
protected abstract Result |
AbsFlow.checkProjectInfo() |
static Result |
JobUtil.createFloder(String foldPath,
String foldName,
String displayName,
String description) |
static Result |
JobUtil.createFreestyleJob(JobInfo jobInfo)
创建自由风格的节点
|
static Result |
JobUtil.createJob(JobInfo jobInfo) |
static Result |
JobUtil.createJob(String foldPath,
String jobName,
String configXML)
创建一个job
|
Result |
IFlow.deleteFlow() |
Result |
AbsFlow.deleteFlow() |
static Result |
JobUtil.deleteJob(String jobpath)
删除一个job
|
Result |
IFlow.startFlow() |
Result |
AbsFlow.startFlow() |
static Result |
JobUtil.stopBuild(String jobpath)
停止一个流程
|
Result |
IFlow.stopFlow() |
Result |
AbsFlow.stopFlow() |
static Result |
JobUtil.triggerBuild(String jobpath)
启动一个job
|
static Result |
JobUtil.triggerBuild(String flowPath,
String viewName)
触发起动流程
|
| 限定符和类型 | 方法和说明 |
|---|---|
protected Result |
FlowDefault.checkProjectInfo() |
| 限定符和类型 | 方法和说明 |
|---|---|
static Result |
SqsUtil.sendMessage(String msg)
发送一条消息到默认的MQ
|
static Result |
SqsUtil.sendMessage(String mqName,
String msg)
发送一条消息到MQ
|
| 限定符和类型 | 方法和说明 |
|---|---|
static Result |
SendMsgRabbit.sendDicMsg(String message)
直接发送消息到默认的Query
|
static Result |
SendMsgRabbit.sendDicMsg(String queryName,
String message)
发送消息到指定的Query
|
static Result |
SendMsgRabbit.sendFanoutMsg(String message) |
static Result |
SendMsgRabbit.sendFanoutMsg(String exchange,
String message)
通过fanout类型转发器来发送消息
|
| 限定符和类型 | 方法和说明 |
|---|---|
abstract Result |
AbsHandler.checkClass(javassist.CtClass cc) |
abstract Result |
AbsHandler.enhance(javassist.CtMethod method,
String newMethodName) |
| 限定符和类型 | 方法和说明 |
|---|---|
Result |
EnhanceSuperClass.checkClass(javassist.CtClass cc) |
Result |
EnhanceJdbcDriver.enhance(javassist.CtMethod method,
String newMethodName) |
Result |
EnhanceHttpServlet.enhance(javassist.CtMethod methods,
String newMethodName) |
Result |
EnhanceApacheHttpClient.enhance(javassist.CtMethod method,
String newMethodName) |
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
J2EEAssist.returnJsonResponse(javax.servlet.http.HttpServletResponse response,
Result optResult)
返回json数据
|
| 限定符和类型 | 方法和说明 |
|---|---|
Result |
IZKOpt.execute()
Performs the operation - which may be involved multiple times if the
connection to ZooKeeper closes during this operation
|
Result |
ZKLockManager.unlock()
解除当前拥有的锁
|
Result |
ZKLockManager.unlock(String path)
解除指定的锁
|
| 限定符和类型 | 方法和说明 |
|---|---|
Result |
ZKUnLockOpt.execute() |
Result |
ZKLockOpt.execute()
返回第一个为 前一个路径 ,第二个为当前路径
|
Copyright © 2016. All rights reserved.