类 JvmSystemExiter

  • 所有已实现的接口:
    SystemExiter

    public class JvmSystemExiter
    extends java.lang.Object
    implements SystemExiter
    Implementation of the SystemExiter interface that calls the standards System.exit method. It should be noted that there will be no unit tests for this class, since there is only one line of actual code, that would only be testable by mocking System or Runtime.
    作者:
    Lucas Ward, Dave Syer
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型方法说明
      voidexit​(int status)
      Delegate call to System.exit() with the argument provided.
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 方法详细资料

      • exit

        public void exit​(int status)
        Delegate call to System.exit() with the argument provided. This should only be used in a scenario where a particular status needs to be returned to a Batch scheduler.
        指定者:
        exit 在接口中 SystemExiter
        参数:
        status - exit status.
        另请参阅:
        SystemExiter.exit(int)