Package org.jruby

Class Main.Status

java.lang.Object
org.jruby.Main.Status
Enclosing class:
Main

public static class Main.Status extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private boolean
     
    private int
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates a status object with 0 value and no explicit exit flag.
    Status(int status)
    Creates a status object with the specified value and with explicit exit flag.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
     
    boolean
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • isExit

      private boolean isExit
    • status

      private int status
  • Constructor Details

    • Status

      Status(int status)
      Creates a status object with the specified value and with explicit exit flag. An exit flag means that Kernel.exit() has been explicitly invoked during the run.
      Parameters:
      status - The status value.
    • Status

      Status()
      Creates a status object with 0 value and no explicit exit flag.
  • Method Details

    • isExit

      public boolean isExit()
    • getStatus

      public int getStatus()