⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 conditionremote.java

📁 一个很好实用的工作流OSWORKFLOW开发例子.有着非常优秀的灵活性.
💻 JAVA
字号:
/* * Copyright (c) 2002-2003 by OpenSymphony * All rights reserved. */package com.opensymphony.workflow;import com.opensymphony.module.propertyset.PropertySet;import java.rmi.Remote;import java.rmi.RemoteException;import java.util.Map;/** * Interface that must be implemented to define a java-based remote condition in your workflow definition. * * @author <a href="mailto:plightbo@hotmail.com">Patrick Lightbody</a> */public interface ConditionRemote extends Remote {    //~ Methods ////////////////////////////////////////////////////////////////    /**     * Determines if a condition should signal pass or fail.     *     * @param transientVars Variables that will not be persisted. These include inputs     * given in the {@link Workflow#initialize} and {@link Workflow#doAction} method calls.     * There are two special variable names: <b>entry</b> (object type:     * {@link com.opensymphony.workflow.spi.WorkflowEntry}) and <b>context</b>     * (object type: {@link com.opensymphony.workflow.WorkflowContext}).     * Also, any variable set as a {@link com.opensymphony.workflow.Register}), will also be     * available in the transient map, no matter what. These transient variables only last through     * the method call that they were invoked in, such as {@link Workflow#initialize}     * and {@link Workflow#doAction}.     * @param args The properties for this function invocation. Properties are created     * from arg nested elements within the xml, an arg element takes in a name attribute     * which is the properties key, and the CDATA text contents of the element map to     * the property value.     * @param ps The persistent variables that are associated with the current     * instance of the workflow. Any change made to this will be seen on the next     * function call in the workflow lifetime.     */    public boolean passesCondition(Map transientVars, Map args, PropertySet ps) throws RemoteException;}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -