public class Warning extends Object
Constructor and Description |
---|
Warning()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getAgent()
Returns the agent.
|
Date |
getDate()
Returns the warning date.
|
Status |
getStatus()
Returns the special status.
|
String |
getText()
Returns the warning text.
|
void |
setAgent(String agent)
Sets the agent.
|
void |
setDate(Date date)
Sets the warning date.
|
void |
setStatus(Status status)
Sets the special status.
|
void |
setText(String text)
Sets the warning text.
|
public String getAgent()
public Date getDate()
public Status getStatus()
public String getText()
public void setAgent(String agent)
agent
- The agent. Typically a caching agent.public void setDate(Date date)
date
- The warning date.public void setStatus(Status status)
status
- The special status.public void setText(String text)
text
- The warning text.Copyright © 2005–2014. All rights reserved.