Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.selesse.jxlint.model.rules;

A singleton for the LintRules implementation. Also contains information about whether or not the program is in test mode.
 
 public class LintRulesImpl {
     private static LintRules instance;
     private static boolean willExitAfterReporting;
    public static LintRules getInstance() {
        if ( == null) {
            throw new RuntimeException("No instance of LintRules is defined.");
        }
        return ;
    }
    public static void setInstance(LintRules instance) {
        . = instance;
    }

    
Returns whether or not the program will exit after reporting. Specifically, if it will call java.lang.System.exit(int).
    public static boolean willExitAfterReporting() {
        return .;
    }

    
Set whether or not the program will exit after reporting. Specifically, it will call java.lang.System.exit(int) if exitAfterReporting is true.
    public static void setExitAfterReporting(boolean exitAfterReporting) {
        . = exitAfterReporting;
    }
New to GrepCode? Check out our FAQ X