public class WarningArgs extends Object
Constructor and Description |
---|
WarningArgs() |
WarningArgs(WarningReason reason,
String description)
Creates event data.
|
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
Returns warning description.
|
WarningReason |
getReason()
Returns warning reason.
|
void |
setDescription(String description) |
void |
setReason(WarningReason reason) |
String |
toString() |
public WarningArgs()
public WarningArgs(WarningReason reason, String description)
reason
- warning reasondescription
- warning descriptionpublic WarningReason getReason()
public String getDescription()
public void setReason(WarningReason reason)
public void setDescription(String description)
Copyright © 2005–2024 Onix Solutions. All rights reserved.