org.pentaho.di.ui.core.widget.warning
Class SimpleWarningMessage

java.lang.Object
  extended by org.pentaho.di.ui.core.widget.warning.SimpleWarningMessage
All Implemented Interfaces:
WarningMessageInterface

public class SimpleWarningMessage
extends Object
implements WarningMessageInterface


Constructor Summary
SimpleWarningMessage(boolean warning, String warningMessage)
           
 
Method Summary
 String getWarningMessage()
           
 boolean isWarning()
           
 void setWarning(boolean warning)
           
 void setWarningMessage(String warningMessage)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleWarningMessage

public SimpleWarningMessage(boolean warning,
                            String warningMessage)
Parameters:
warning -
warningMessage -
Method Detail

getWarningMessage

public String getWarningMessage()
Specified by:
getWarningMessage in interface WarningMessageInterface
Returns:
the warningMessage

setWarningMessage

public void setWarningMessage(String warningMessage)
Parameters:
warningMessage - the warningMessage to set

isWarning

public boolean isWarning()
Specified by:
isWarning in interface WarningMessageInterface
Returns:
the warning

setWarning

public void setWarning(boolean warning)
Parameters:
warning - the warning to set