rj.tools.jcsc.plugins.intellij
Class JCSCOptions

java.lang.Object
  extended byrj.tools.jcsc.plugins.intellij.JCSCOptions
All Implemented Interfaces:
java.lang.Cloneable, com.intellij.openapi.util.JDOMExternalizable

public class JCSCOptions
extends java.lang.Object
implements java.lang.Cloneable, com.intellij.openapi.util.JDOMExternalizable

Options for the JCSC plugin

Version:
__0.1__
Author:
Ralph Jocham

Field Summary
static java.lang.String FAILSEVERITY
          fail severity property
static java.lang.String FAILVIONCSSRATIO
          fail vio/ncss ratio property
static java.lang.String RULESFILE
          rules file property
 
Constructor Summary
JCSCOptions()
           
 
Method Summary
protected  java.lang.Object clone()
          Clone the current options
 java.lang.String getFailSeverity()
          Get the fail severity
 java.lang.String getFailVioNCSSRatio()
          Get the fail vio/ncss ratio
 java.lang.String getRulesFile()
          Get the full qualified path to the rules file
 void readExternal(org.jdom.Element element)
          Read options from project IntelliJ XML
 void setFailSeverity(java.lang.String failSeverity)
          Set the fail severity
 void setFailVioNCSSRatio(java.lang.String failVioNCSSRatio)
          Set the fail vio/ncss ratio
 void setRulesFile(java.lang.String filePath)
          Set the rules file path
 void writeExternal(org.jdom.Element element)
          Write options to IntelliJ XML
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RULESFILE

public static final java.lang.String RULESFILE
rules file property

See Also:
Constant Field Values

FAILSEVERITY

public static final java.lang.String FAILSEVERITY
fail severity property

See Also:
Constant Field Values

FAILVIONCSSRATIO

public static final java.lang.String FAILVIONCSSRATIO
fail vio/ncss ratio property

See Also:
Constant Field Values
Constructor Detail

JCSCOptions

public JCSCOptions()
Method Detail

clone

protected java.lang.Object clone()
                          throws java.lang.CloneNotSupportedException
Clone the current options

Returns:
cloned object
Throws:
java.lang.CloneNotSupportedException

getRulesFile

public java.lang.String getRulesFile()
Get the full qualified path to the rules file

Returns:
path to rules file

setRulesFile

public void setRulesFile(java.lang.String filePath)
Set the rules file path

Parameters:
filePath -

getFailSeverity

public java.lang.String getFailSeverity()
Get the fail severity

Returns:
fail severity

setFailSeverity

public void setFailSeverity(java.lang.String failSeverity)
Set the fail severity

Parameters:
failSeverity -

getFailVioNCSSRatio

public java.lang.String getFailVioNCSSRatio()
Get the fail vio/ncss ratio

Returns:
vio/ncss ratio

setFailVioNCSSRatio

public void setFailVioNCSSRatio(java.lang.String failVioNCSSRatio)
Set the fail vio/ncss ratio

Parameters:
failVioNCSSRatio -

readExternal

public void readExternal(org.jdom.Element element)
                  throws com.intellij.openapi.util.InvalidDataException
Read options from project IntelliJ XML

Specified by:
readExternal in interface com.intellij.openapi.util.JDOMExternalizable
Parameters:
element -
Throws:
com.intellij.openapi.util.InvalidDataException

writeExternal

public void writeExternal(org.jdom.Element element)
                   throws com.intellij.openapi.util.WriteExternalException
Write options to IntelliJ XML

Specified by:
writeExternal in interface com.intellij.openapi.util.JDOMExternalizable
Parameters:
element -
Throws:
com.intellij.openapi.util.WriteExternalException


(c) 1999-2005 by Ralph Jocham (rjocham72@netscape.net)
JCSC is released under the terms of the GNU General Public License