|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.interfaceware.iguana.plugin.LogQuery
public class LogQuery
This class is used to represent an Iguana log query.
Constructor Summary | |
---|---|
LogQuery()
|
|
LogQuery(long Handle)
|
Method Summary | |
---|---|
LogQueryResult |
execute()
Perform a query on the configured Iguana server. |
protected void |
finalize()
|
java.util.Date |
getAfter()
Specifies the starting timestamp for the search. |
java.util.Date |
getBefore()
Specifies the ending timestamp for the search. |
java.lang.String |
getChannelName()
Restricts search results to specified channel. |
boolean |
getEncrypt()
Specifies that Iguana server is configured to use HTTPS mode. |
java.lang.String |
getFilter()
Restricts search results to log entries that contain specified text pattern in the message contents. |
java.lang.String |
getHost()
Specifies the hostname or IP address of the Iguana server. |
boolean |
getIncludeAckMessages()
Include log entries of Type "Ack" (HL7 acknowledgement) in the query results. |
boolean |
getIncludeDebugMessages()
Include log entries of Type "Debug" (debug events) in the query results. |
boolean |
getIncludeDeleted()
Include log entries that are deleted in the query results. |
boolean |
getIncludeErrorMessages()
Include log entries of Type "Error" (both marked and unmarked) in the query results. |
boolean |
getIncludeInfoMessages()
Include log entries of Type "Info" (info events) in the query results. |
boolean |
getIncludeMarkedErrorMessages()
Include log entries of Type "Error" that are marked in the query results. |
boolean |
getIncludeMessageMessages()
Include log entries of Type "Message" (HL7 data message) in the query results. |
boolean |
getIncludeNonDeleted()
Include log entries that are not deleted in the query results. |
boolean |
getIncludeSourceLogs()
Indicates that messages associated with the source channel should be included. |
boolean |
getIncludeSuccessMessages()
Include log entries of Type "Success" (success events) in the query results. |
boolean |
getIncludeUnmarkedErrorMessages()
Include log entries of Type "Error" that are not marked in the query results. |
boolean |
getIncludeWarningMessages()
Include log entries of Type "Warning" (warning events) in the query results. |
java.lang.String |
getMessageLogId()
If this field is set, the message with specified Message Id as well as messages related to it are returned. |
java.lang.String |
getPassword()
Specifies the password which should be used to authenticate with the Iguana server. |
int |
getPort()
Specifies the port number which is used to access the Iguana server's HTTP/HTTPS interface. |
java.lang.String |
getUsername()
Specifies the username which should be used to authenticate with the Iguana server. |
void |
release()
|
void |
setAfter(java.util.Date Value)
Set method for After. |
void |
setBefore(java.util.Date Value)
Set method for Before. |
void |
setChannelName(java.lang.String Value)
Set method for ChannelName. |
void |
setEncrypt(boolean Value)
Set method for Encrypt. |
void |
setFilter(java.lang.String Value)
Set method for Filter. |
void |
setHost(java.lang.String Value)
Set method for Host. |
void |
setIncludeAckMessages(boolean Value)
Set method for IncludeAckMessages. |
void |
setIncludeDebugMessages(boolean Value)
Set method for IncludeDebugMessages. |
void |
setIncludeDeleted(boolean Value)
Set method for IncludeDeleted. |
void |
setIncludeErrorMessages(boolean Value)
Set method for IncludeErrorMessages. |
void |
setIncludeInfoMessages(boolean Value)
Set method for IncludeInfoMessages. |
void |
setIncludeMarkedErrorMessages(boolean Value)
Set method for IncludeMarkedErrorMessages. |
void |
setIncludeMessageMessages(boolean Value)
Set method for IncludeMessageMessages. |
void |
setIncludeNonDeleted(boolean Value)
Set method for IncludeNonDeleted. |
void |
setIncludeSourceLogs(boolean Value)
Set method for IncludeSourceLogs. |
void |
setIncludeSuccessMessages(boolean Value)
Set method for IncludeSuccessMessages. |
void |
setIncludeUnmarkedErrorMessages(boolean Value)
Set method for IncludeUnmarkedErrorMessages. |
void |
setIncludeWarningMessages(boolean Value)
Set method for IncludeWarningMessages. |
void |
setMessageLogId(java.lang.String Value)
Set method for MessageLogId. |
void |
setPassword(java.lang.String Value)
Set method for Password. |
void |
setPort(int Value)
Set method for Port. |
void |
setUsername(java.lang.String Value)
Set method for Username. |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LogQuery() throws PluginException
PluginException
public LogQuery(long Handle) throws PluginException
PluginException
Method Detail |
---|
public void release() throws PluginException
PluginException
protected void finalize() throws PluginException
finalize
in class java.lang.Object
PluginException
public java.lang.String getHost() throws PluginException
Specifies the hostname or IP address of the Iguana server.
See also the setHost
method.
PluginException
public void setHost(java.lang.String Value) throws PluginException
Set method for Host.
See Host
.
Value
- Value to set Host to.
PluginException
public int getPort() throws PluginException
Specifies the port number which is used to access the Iguana server's HTTP/HTTPS interface.
See also the setPort
method.
PluginException
public void setPort(int Value) throws PluginException
Set method for Port.
See Port
.
Value
- Value to set Port to.
PluginException
public java.lang.String getUsername() throws PluginException
Specifies the username which should be used to authenticate with the Iguana server.
See also the setUsername
method.
PluginException
public void setUsername(java.lang.String Value) throws PluginException
Set method for Username.
See Username
.
Value
- Value to set Username to.
PluginException
public java.lang.String getPassword() throws PluginException
Specifies the password which should be used to authenticate with the Iguana server.
See also the setPassword
method.
PluginException
public void setPassword(java.lang.String Value) throws PluginException
Set method for Password.
See Password
.
Value
- Value to set Password to.
PluginException
public boolean getEncrypt() throws PluginException
Specifies that Iguana server is configured to use HTTPS mode.
See also the setEncrypt
method.
PluginException
public void setEncrypt(boolean Value) throws PluginException
Set method for Encrypt.
See Encrypt
.
Value
- Value to set Encrypt to.
PluginException
public java.lang.String getFilter() throws PluginException
Restricts search results to log entries that contain specified text pattern in the message contents. (Optional)
See also the setFilter
method.
PluginException
public void setFilter(java.lang.String Value) throws PluginException
Set method for Filter.
See Filter
.
Value
- Value to set Filter to.
PluginException
public java.lang.String getChannelName() throws PluginException
Restricts search results to specified channel. (Optional)
See also the setChannelName
method.
PluginException
public void setChannelName(java.lang.String Value) throws PluginException
Set method for ChannelName.
See ChannelName
.
Value
- Value to set ChannelName to.
PluginException
public java.lang.String getMessageLogId() throws PluginException
If this field is set, the message with specified Message Id as well as messages related to it are returned. When this field is set, the other search constraints (Filter, ChannelName, IncludeMessageMessages, IncludeAckMessages, etc) are ignored.
See also the setMessageLogId
method.
PluginException
public void setMessageLogId(java.lang.String Value) throws PluginException
Set method for MessageLogId.
See MessageLogId
.
Value
- Value to set MessageLogId to.
PluginException
public boolean getIncludeMessageMessages() throws PluginException
Include log entries of Type "Message" (HL7 data message) in the query results.
See also the setIncludeMessageMessages
method.
PluginException
public void setIncludeMessageMessages(boolean Value) throws PluginException
Set method for IncludeMessageMessages.
Value
- Value to set IncludeMessageMessages to.
PluginException
public boolean getIncludeAckMessages() throws PluginException
Include log entries of Type "Ack" (HL7 acknowledgement) in the query results.
See also the setIncludeAckMessages
method.
PluginException
public void setIncludeAckMessages(boolean Value) throws PluginException
Set method for IncludeAckMessages.
See IncludeAckMessages
.
Value
- Value to set IncludeAckMessages to.
PluginException
public boolean getIncludeSuccessMessages() throws PluginException
Include log entries of Type "Success" (success events) in the query results.
See also the setIncludeSuccessMessages
method.
PluginException
public void setIncludeSuccessMessages(boolean Value) throws PluginException
Set method for IncludeSuccessMessages.
Value
- Value to set IncludeSuccessMessages to.
PluginException
public boolean getIncludeWarningMessages() throws PluginException
Include log entries of Type "Warning" (warning events) in the query results.
See also the setIncludeWarningMessages
method.
PluginException
public void setIncludeWarningMessages(boolean Value) throws PluginException
Set method for IncludeWarningMessages.
Value
- Value to set IncludeWarningMessages to.
PluginException
public boolean getIncludeErrorMessages() throws PluginException
Include log entries of Type "Error" (both marked and unmarked) in the query results.
See also the setIncludeErrorMessages
method.
PluginException
public void setIncludeErrorMessages(boolean Value) throws PluginException
Set method for IncludeErrorMessages.
See IncludeErrorMessages
.
Value
- Value to set IncludeErrorMessages to.
PluginException
public boolean getIncludeMarkedErrorMessages() throws PluginException
Include log entries of Type "Error" that are marked in the query results. An error can be marked (acknowledged) through Iguana dashboard by an administrator.
See also the setIncludeMarkedErrorMessages
method.
PluginException
public void setIncludeMarkedErrorMessages(boolean Value) throws PluginException
Set method for IncludeMarkedErrorMessages.
See IncludeMarkedErrorMessages
.
Value
- Value to set IncludeMarkedErrorMessages to.
PluginException
public boolean getIncludeUnmarkedErrorMessages() throws PluginException
Include log entries of Type "Error" that are not marked in the query results.
See also the setIncludeUnmarkedErrorMessages
method.
PluginException
public void setIncludeUnmarkedErrorMessages(boolean Value) throws PluginException
Set method for IncludeUnmarkedErrorMessages.
See IncludeUnmarkedErrorMessages
.
Value
- Value to set IncludeUnmarkedErrorMessages to.
PluginException
public boolean getIncludeInfoMessages() throws PluginException
Include log entries of Type "Info" (info events) in the query results.
See also the setIncludeInfoMessages
method.
PluginException
public void setIncludeInfoMessages(boolean Value) throws PluginException
Set method for IncludeInfoMessages.
See IncludeInfoMessages
.
Value
- Value to set IncludeInfoMessages to.
PluginException
public boolean getIncludeDebugMessages() throws PluginException
Include log entries of Type "Debug" (debug events) in the query results.
See also the setIncludeDebugMessages
method.
PluginException
public void setIncludeDebugMessages(boolean Value) throws PluginException
Set method for IncludeDebugMessages.
See IncludeDebugMessages
.
Value
- Value to set IncludeDebugMessages to.
PluginException
public boolean getIncludeDeleted() throws PluginException
Include log entries that are deleted in the query results. A log message can be deleted through Iguana dashboard by an administrator.
See also the setIncludeDeleted
method.
PluginException
public void setIncludeDeleted(boolean Value) throws PluginException
Set method for IncludeDeleted.
See IncludeDeleted
.
Value
- Value to set IncludeDeleted to.
PluginException
public boolean getIncludeNonDeleted() throws PluginException
Include log entries that are not deleted in the query results.
See also the setIncludeNonDeleted
method.
PluginException
public void setIncludeNonDeleted(boolean Value) throws PluginException
Set method for IncludeNonDeleted.
See IncludeNonDeleted
.
Value
- Value to set IncludeNonDeleted to.
PluginException
public boolean getIncludeSourceLogs() throws PluginException
Indicates that messages associated with the source channel should be included.
See also the setIncludeSourceLogs
method.
PluginException
public void setIncludeSourceLogs(boolean Value) throws PluginException
Set method for IncludeSourceLogs.
See IncludeSourceLogs
.
Value
- Value to set IncludeSourceLogs to.
PluginException
public java.util.Date getAfter() throws PluginException
Specifies the starting timestamp for the search. (Optional)
See also the setAfter
method.
PluginException
public void setAfter(java.util.Date Value) throws PluginException
Set method for After.
See After
.
Value
- Value to set After to.
PluginException
public java.util.Date getBefore() throws PluginException
Specifies the ending timestamp for the search. (Optional)
See also the setBefore
method.
PluginException
public void setBefore(java.util.Date Value) throws PluginException
Set method for Before.
See Before
.
Value
- Value to set Before to.
PluginException
public LogQueryResult execute() throws PluginException
Perform a query on the configured Iguana server. Note that this method will block while the query is performed.
PluginException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |