Enum Class的使用
io.agentscope.core.interruption.InterruptSource
使用InterruptSource的程序包
-
io.agentscope.core.interruption中InterruptSource的使用
修饰符和类型方法说明InterruptContext.getSource()Get the source of the interruption.static InterruptSourceReturns the enum constant of this class with the specified name.static InterruptSource[]InterruptSource.values()Returns an array containing the constants of this enum class, in the order they are declared.修饰符和类型方法说明InterruptContext.Builder.source(InterruptSource source) Set the source of the interruption.