| 1234567891011121314151617181920212223242526272829303132 |
- using Abp.Dependency;
- using WeEngine.Enum;
- using WeEngine.Packages;
- namespace WeEngine.Strategy.Runner
- {
- public interface IRunnerStrategy:IStrategy,ITransientDependency
- {
- /// <summary>
- /// 运行态方案包
- /// </summary>
- PackageNode PackageInfo { get; set; }
- /// <summary>
- /// 运行方案包
- /// </summary>
- /// <param name="node"></param>
- /// <param name="operationType"></param>
- /// <returns></returns>
- bool Run(NodeBase node, OperationType operationType);
- /// <summary>
- /// 运行方案包
- /// </summary>
- /// <param name="path"></param>
- /// <param name="operationType"></param>
- /// <returns></returns>
- bool Run(string path, OperationType operationType);
- void NodeChangeEventHandle(NodeBase node,NodeState state);
- }
- }
|