Compare commits
2 Commits
feature/os
...
develop
Author | SHA1 | Date | |
---|---|---|---|
be278726a7 | |||
3535b9f419 |
21
pom.xml
21
pom.xml
@ -147,7 +147,7 @@
|
||||
</build>
|
||||
</profile>
|
||||
<profile>
|
||||
<id>central-release</id>
|
||||
<id>ossrh-release</id>
|
||||
<properties>
|
||||
<maven.deploy.skip>true</maven.deploy.skip>
|
||||
</properties>
|
||||
@ -189,14 +189,21 @@
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.sonatype.central</groupId>
|
||||
<artifactId>central-publishing-maven-plugin</artifactId>
|
||||
<version>0.7.0</version>
|
||||
<extensions>true</extensions>
|
||||
<groupId>org.sonatype.plugins</groupId>
|
||||
<artifactId>nexus-staging-maven-plugin</artifactId>
|
||||
<version>1.7.0</version>
|
||||
<configuration>
|
||||
<publishingServerId>central</publishingServerId>
|
||||
<autoPublish>true</autoPublish>
|
||||
<serverId>ossrh</serverId>
|
||||
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
|
||||
<autoReleaseAfterClose>true</autoReleaseAfterClose>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>ossrh-deploy</id>
|
||||
<phase>deploy</phase>
|
||||
<goals><goal>deploy</goal></goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
@ -50,8 +50,7 @@
|
||||
<version>@pom.version@</version>
|
||||
</docletArtifact>
|
||||
<useStandardDocletOptions>false</useStandardDocletOptions>
|
||||
<destDir>apidocs</destDir>
|
||||
<reportOutputDirectory>${basedir}</reportOutputDirectory>
|
||||
<outputDirectory>${basedir}</outputDirectory>
|
||||
<additionalOptions>
|
||||
<additionalOption>--title 'Example Title'</additionalOption>
|
||||
<additionalOption>--apiName '${project.name}'</additionalOption>
|
||||
|
24
src/it/base/src/main/java/TestNamedTaskListenerBean.java
Normal file
24
src/it/base/src/main/java/TestNamedTaskListenerBean.java
Normal file
@ -0,0 +1,24 @@
|
||||
|
||||
import org.activiti.engine.delegate.DelegateTask;
|
||||
import org.activiti.engine.delegate.TaskListener;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
/**
|
||||
* This is an example comment for the class TestNamedTaskListenerBean.
|
||||
*
|
||||
* Here is a second line that happens
|
||||
* to span multiple lines. This class does not have an author.
|
||||
*/
|
||||
@Component("testTaskListener")
|
||||
public class TestNamedTaskListenerBean implements TaskListener {
|
||||
|
||||
/**
|
||||
* This is an example method comment.
|
||||
*
|
||||
* @param task A delegate task for access to the activity and process instance.
|
||||
*/
|
||||
@Override
|
||||
public void notify(DelegateTask task) {
|
||||
}
|
||||
|
||||
}
|
@ -135,7 +135,7 @@ class ActivitiDocFilter {
|
||||
}
|
||||
}
|
||||
|
||||
this.logger.info("delegates: {}", delegateMethodElements);
|
||||
this.logger.info("delegates: {}: {}", beanId, delegateMethodElements);
|
||||
|
||||
// getAllMembers() will get inherited methods
|
||||
for (Element memberElement : this.docenv.getElementUtils().getAllMembers(classElement)) {
|
||||
|
@ -30,11 +30,11 @@ ${r"${"}${beanId}${r"}"}
|
||||
|
||||
<#if delegateMethod?? || executionListenerMethod?? || taskListenerMethod??>
|
||||
<#assign taskUses = [] />
|
||||
<#if delegateMethod??><#assign taskUses = taskUses + ["**Service Task**"] /></#if>
|
||||
<#if executionListenerMethod??><#assign taskUses = taskUses + ["**Execution Listener**"] /></#if>
|
||||
<#if taskListenerMethod??><#assign taskUses = taskUses + ["**Task Listener**"] /></#if>
|
||||
<#if delegateMethod??><#assign taskUses = taskUses + ["**Service Task**"] /><#assign _delegateMethod = delegateMethod /></#if>
|
||||
<#if executionListenerMethod??><#assign taskUses = taskUses + ["**Execution Listener**"] /><#assign _delegateMethod = executionListenerMethod /></#if>
|
||||
<#if taskListenerMethod??><#assign taskUses = taskUses + ["**Task Listener**"] /><#assign _delegateMethod = taskListenerMethod /></#if>
|
||||
You may use it in a ${taskUses?join(" or ")}.
|
||||
<@sigdoc sig=delegateMethod showParams=false/>
|
||||
<@sigdoc sig=_delegateMethod showParams=false/>
|
||||
</#if></#if><#if (methods?size > 0)>
|
||||
|
||||
## Expression Uses
|
||||
|
Loading…
x
Reference in New Issue
Block a user