Class SimpleWarningMessage
- java.lang.Object
-
- org.pentaho.di.ui.core.widget.warning.SimpleWarningMessage
-
- All Implemented Interfaces:
WarningMessageInterface
public class SimpleWarningMessage extends Object implements WarningMessageInterface
-
-
Constructor Summary
Constructors Constructor Description SimpleWarningMessage(boolean warning, String warningMessage)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getWarningMessage()
boolean
isWarning()
void
setWarning(boolean warning)
void
setWarningMessage(String warningMessage)
-
-
-
Constructor Detail
-
SimpleWarningMessage
public SimpleWarningMessage(boolean warning, String warningMessage)
- Parameters:
warning
-warningMessage
-
-
-
Method Detail
-
getWarningMessage
public String getWarningMessage()
- Specified by:
getWarningMessage
in interfaceWarningMessageInterface
- Returns:
- the warningMessage
-
setWarningMessage
public void setWarningMessage(String warningMessage)
- Parameters:
warningMessage
- the warningMessage to set
-
isWarning
public boolean isWarning()
- Specified by:
isWarning
in interfaceWarningMessageInterface
- Returns:
- the warning
-
setWarning
public void setWarning(boolean warning)
- Parameters:
warning
- the warning to set
-
-