com.henri.jbcs
Class CSPreference

java.lang.Object
  extended by com.henri.jbcs.CSPreference

public class CSPreference
extends java.lang.Object

JBCS preference class. It contains the different paramaters used to configure the plugin.

Version:
$Revision: 1.6 $ $Date: 2004/09/01 21:42:10 $
Author:
Henri Tremblay

Constructor Summary
CSPreference()
           
 
Method Summary
 boolean getClearMessagePane()
           
 java.lang.String getConfigurationFile()
           
 java.util.Collection getExclusionPath()
           
 java.lang.String getPackageNameFile()
           
 java.lang.String getPropertiesFile()
           
 boolean getRecursive()
           
 boolean getShowNoError()
           
 boolean isSeverityShown(com.puppycrawl.tools.checkstyle.api.SeverityLevel level)
          If this severity level should be shown in the message pane
 void load(java.lang.String fileName)
           
 void setClearMessagePane(boolean clearMessagePane)
           
 void setConfigurationFile(java.lang.String configurationFile)
           
 void setExlusionPath(java.util.Collection exclusionPath)
           
 void setPackageNameFile(java.lang.String packageNameFile)
           
 void setPropertiesFile(java.lang.String propertiesFile)
           
 void setRecursive(boolean recursive)
           
 void setSeverityShown(com.puppycrawl.tools.checkstyle.api.SeverityLevel level, boolean shown)
           
 void setShowNoError(boolean showNoError)
           
 void store(java.lang.String fileName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CSPreference

public CSPreference()
Method Detail

load

public void load(java.lang.String fileName)
          throws java.io.FileNotFoundException,
                 java.io.IOException
Throws:
java.io.FileNotFoundException
java.io.IOException

store

public void store(java.lang.String fileName)
           throws java.io.FileNotFoundException,
                  java.io.IOException
Throws:
java.io.FileNotFoundException
java.io.IOException

getClearMessagePane

public boolean getClearMessagePane()

getConfigurationFile

public java.lang.String getConfigurationFile()

getPackageNameFile

public java.lang.String getPackageNameFile()

getPropertiesFile

public java.lang.String getPropertiesFile()

getRecursive

public boolean getRecursive()

getShowNoError

public boolean getShowNoError()

getExclusionPath

public java.util.Collection getExclusionPath()

isSeverityShown

public boolean isSeverityShown(com.puppycrawl.tools.checkstyle.api.SeverityLevel level)
If this severity level should be shown in the message pane

Parameters:
level - Level to check
Returns:
Should it be shown?

setSeverityShown

public void setSeverityShown(com.puppycrawl.tools.checkstyle.api.SeverityLevel level,
                             boolean shown)

setClearMessagePane

public void setClearMessagePane(boolean clearMessagePane)

setPackageNameFile

public void setPackageNameFile(java.lang.String packageNameFile)

setPropertiesFile

public void setPropertiesFile(java.lang.String propertiesFile)

setRecursive

public void setRecursive(boolean recursive)

setShowNoError

public void setShowNoError(boolean showNoError)

setExlusionPath

public void setExlusionPath(java.util.Collection exclusionPath)

setConfigurationFile

public void setConfigurationFile(java.lang.String configurationFile)


Copyright © 2004-2005 . All Rights Reserved.