|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jboss.wise.lms.httpForward.valueObject.LogData
@Name(value="newLog") public class LogData
A LogData collects all the communications for a given Lms mapping.
| Constructor Summary | |
|---|---|
LogData()
|
|
LogData(java.lang.String name)
Create a new mapping's LogData |
|
LogData(java.lang.String name,
java.lang.String url)
Create a new mapping's LogData |
|
| Method Summary | |
|---|---|
void |
addCommunication(Communication c)
Records a given communication |
void |
cleanCommunications()
Cleans up all the communication for this mapping |
boolean |
equals(java.lang.Object o)
|
java.util.List<Communication> |
getCommunications()
Returns all the recorded communications |
java.lang.String |
getName()
Gets name of the mapping corresponding to these data |
java.lang.String |
getUrl()
Gets the mapping's actual target address |
boolean |
isRecording()
Returns true or false depending on the current mapping having the recording enabled or not. |
void |
setCommunications(java.util.List<Communication> communications)
Sets (overwrites) the communications' list |
void |
setName(java.lang.String name)
Sets name of the mapping corresponding to these data |
void |
setRecording(boolean recording)
Enable/disable recording on the current mapping |
void |
setUrl(java.lang.String url)
Sets the mapping's actual target address |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public LogData()
public LogData(java.lang.String name,
java.lang.String url)
throws java.lang.IllegalArgumentException
name - The mapping nameurl - The actual target url
java.lang.IllegalArgumentExceptionpublic LogData(java.lang.String name)
name - The mapping name
java.lang.IllegalArgumentException| Method Detail |
|---|
public void cleanCommunications()
public void addCommunication(Communication c)
c - The communication to be recordedpublic java.util.List<Communication> getCommunications()
public void setCommunications(java.util.List<Communication> communications)
communications - The communications' listpublic boolean isRecording()
public void setRecording(boolean recording)
recording - True to enable recording, false to disable it.public java.lang.String getUrl()
public void setUrl(java.lang.String url)
url - The target addresspublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getName()
public void setName(java.lang.String name)
name - The mapping namepublic boolean equals(java.lang.Object o)
equals in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||