mirror of
https://github.com/duanhf2012/origin.git
synced 2026-02-04 06:54:45 +08:00
优化结点
This commit is contained in:
@@ -8,6 +8,7 @@ type IBaseExecNode interface {
|
||||
GetPorts() ([]IPort, []IPort)
|
||||
getExecNodeInfo() (*ExecContext, *execNode)
|
||||
setExecNodeInfo(gr *ExecContext, en *execNode)
|
||||
GetBlueprintModule() IBlueprintModule
|
||||
}
|
||||
|
||||
type IInnerExecNode interface {
|
||||
@@ -528,3 +529,12 @@ func (en *BaseExecNode) getInnerExecNode() IInnerExecNode {
|
||||
func (en *BaseExecNode) setVariableName(name string) bool {
|
||||
return false
|
||||
}
|
||||
|
||||
|
||||
func (en *BaseExecNode) GetBlueprintModule() IBlueprintModule{
|
||||
if en.gr == nil {
|
||||
return nil
|
||||
}
|
||||
|
||||
return en.gr.IBlueprintModule
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user