de.enough.polish.qualitycontrol
Class PolishVariable

java.lang.Object
  extended by de.enough.polish.qualitycontrol.PolishVariable

public class PolishVariable
extends Object


Constructor Summary
PolishVariable(org.jdom.Element definition, VariablesManager variablesManager)
           
 
Method Summary
 boolean appliesTo(String className, String shortName)
           
 String[] getAppliesTo()
           
 PolishVariableCondition[] getConditions()
           
 String getDefaultValue()
           
 String getDescription()
           
 String getName()
           
 String getType()
           
 String[] getValues()
           
 boolean isInvisible()
           
 boolean isVisibleAndDefined()
           
 void setDefinition(org.jdom.Element definition)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PolishVariable

public PolishVariable(org.jdom.Element definition,
                      VariablesManager variablesManager)
               throws InvalidComponentException
Throws:
InvalidComponentException
Method Detail

setDefinition

public void setDefinition(org.jdom.Element definition)
                   throws InvalidComponentException
Throws:
InvalidComponentException

getName

public String getName()

getType

public String getType()

getDescription

public String getDescription()

getValues

public String[] getValues()

getDefaultValue

public String getDefaultValue()

getAppliesTo

public String[] getAppliesTo()

isInvisible

public boolean isInvisible()

getConditions

public PolishVariableCondition[] getConditions()

isVisibleAndDefined

public boolean isVisibleAndDefined()

appliesTo

public boolean appliesTo(String className,
                         String shortName)