Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
translate to zh_CN
  • Loading branch information
TKJohn committed Jan 19, 2017
1 parent d0c1a1c commit 474947f
Show file tree
Hide file tree
Showing 7 changed files with 95 additions and 71 deletions.
21 changes: 9 additions & 12 deletions zh_CN/ch01-Introduction.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@

=== 协议

Activiti使用 link:$$http://www.apache.org/licenses/LICENSE-2.0.html$$[the Apache V2 license] 协议开源。
Activiti Modeler(Web设计器)使用了另一个开源协议 link:$$http://opensource.org/licenses/LGPL-2.1$$[the LGPL 2.1 license] 。
Activiti使用 link:$$http://www.apache.org/licenses/LICENSE-2.0.html$$[Apache V2] 协议开源。
Activiti Modeler(Web设计器)使用了另一个开源协议 link:$$http://opensource.org/licenses/LGPL-2.1$$[LGPL 2.1] 。

[[download]]

Expand All @@ -28,20 +28,19 @@ link:$$https://github.com/Activiti/Activiti$$[https://github.com/Activiti/Activi

==== JDK 6+

Activiti需要JDK 6或以上版本。访问 link:$$http://www.oracle.com/technetwork/java/javase/downloads/index.html$$[Oracle Java SE downloads] 点击“下载JDK”按钮。这个页面上有安装文档。安装完成后,执行 +java -version+ 校验安装是否成功。能看到JDK的版本信息就说明安装成功了。
Activiti需要JDK 6或以上版本。访问 link:$$http://www.oracle.com/technetwork/java/javase/downloads/index.html$$[Oracle Java SE 下载],点击“下载JDK”按钮。这个页面上有安装指导。安装完成后,执行 +java -version+ 校验安装是否成功。能看到JDK的版本信息就说明安装成功了。


==== Eclipse Indigo 和 Juno

到 link:$$http://www.eclipse.org/downloads/$$[the Eclipse 下载页面]选择对应的Eclipse版本下载。把下载的文件解压,
然后执行+eclipse+目录下的eclipse文件。手册后续有专门一章 <<eclipseDesignerInstallation,installing our eclipse designer plugin>>。
到 link:$$http://www.eclipse.org/downloads/$$[the Eclipse 下载页面]选择Eclipse版本并下载。解压下载的文件,然后执行+eclipse+目录下的eclipse文件。手册后续有专门一章介绍如何<<eclipseDesignerInstallation, 安装我们的Eclipse Designer插件>>。


[[reporting.problems]]

=== 反馈问题

每一个自重的开发者都应该先看看这个 link:$$http://www.catb.org/~esr/faqs/smart-questions.html$$[提问的智慧] 。
每一个自重的开发者都应该先看看 link:$$http://www.catb.org/~esr/faqs/smart-questions.html$$[提问的智慧] 。


看完提问的智慧,你可以在 link:$$http://forums.activiti.org/en/viewforum.php?f=3$$[用户论坛] 提问和评论,也可以在link:$$https://activiti.atlassian.net$$[我们的 JIRA 问题追踪系统]创建问题。
Expand All @@ -55,17 +54,15 @@ Activiti需要JDK 6或以上版本。访问 link:$$http://www.oracle.com/technet

[[experimental]]

=== 实验性功能
=== 试验性功能

标记*[EXPERIMENTAL]*的章节介绍的功能
还不够稳定。
标记**[EXPERIMENTAL]**的章节介绍的功能还不够稳定。


+.impl.+包下的类都是内部实现类,后续可能发生各种变化。但是,如果是在用户手册中作为配置参数介绍的类,它们是被官方支持的,可以认为是稳定的。

++.impl.++包下的类都是内部实现类,不保证稳定。但是,在用户手册中,作为配置参数介绍的类,则是被官方支持的,可以保证稳定。

[[internal]]

=== 内部实现类

在jar文件中,所有包名中包含+.impl.+的类(比如,++org.activiti.engine.impl.pvm.delegate++)都是实现类,这些类都是内部类。这些类和接口都不会保证稳定。(不同版本之间可能会有变化。谨慎使用。)
在jar文件中,所有包名中包含++.impl.++的类(比如,++org.activiti.engine.impl.pvm.delegate++)都是内部实现类。实现类中的所有类或接口都不保证稳定。
2 changes: 1 addition & 1 deletion zh_CN/ch03-Configuration.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -705,7 +705,7 @@ void addEventListener(ActivitiEventListener listenerToAdd, ActivitiEventType...

===== 抛出BPMN事件的监听器 Listeners throwing BPMN events

<<experimental, [试验功能] >>
<<experimental, [EXPERIMENTAL] >>


处理分发的事件的另一个方法,是抛出BPMN事件。请牢记在心,只有特定种类的Activiti事件类型,抛出BPMN事件才合理。例如,在流程实例被删除时抛出BPMN事件,会导致错误。下面的代码片段展示了如何在流程实例中抛出信号,向外部流程(全局)抛出信号,在流程实例中抛出消息事件,以及在流程实例中抛出错误事件。这里不使用++class++或++delegateExpression++,而要使用++throwEvent++属性,以及一个附加属性,用于指定需要抛出的事件类型。
Expand Down
4 changes: 2 additions & 2 deletions zh_CN/ch07b-BPMN-Constructs.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -4141,7 +4141,7 @@ public class ExampleExecutionListenerOne implements ExecutionListener {
</activiti:field>
<activiti:field name="language" stringValue="groovy" />
<activiti:field name="resultVariable" stringValue="myVar" />
<activiti:executionListener>
</activiti:executionListener>
----


Expand Down Expand Up @@ -4280,7 +4280,7 @@ public class MyTaskCreateListener implements TaskListener {
</activiti:field>
<activiti:field name="language" stringValue="groovy" />
<activiti:field name="resultVariable" stringValue="myVar" />
<activiti:taskListener>
</activiti:taskListener>
----


Expand Down
Loading

0 comments on commit 474947f

Please sign in to comment.