com.ibm.di.eclipse.http.commands
Class LogCommand
java.lang.Object
com.ibm.di.eclipse.http.commands.RestCommand
com.ibm.di.eclipse.http.commands.LogCommand
- All Implemented Interfaces:
- AssemblyLineListener, DIEventListener, LogListener, java.util.EventListener
public class LogCommand
- extends RestCommand
- implements AssemblyLineListener, DIEventListener
Fields inherited from class com.ibm.di.eclipse.http.commands.RestCommand |
HTTP_BODY, HTTP_CONTENT_TYPE, HTTP_QS, RES_ASSEMBLY_LINE, RES_ASSEMBLY_LINE_LOG, RES_CONFIG_AL, RES_CONFIG_INSTANCE, RES_CONFIG_RUNAL, RES_CONFIGURATION, RES_CONNECTOR_CLOSE, RES_CONNECTOR_GETNEXT, RES_CONNECTOR_LOAD, RES_CONNECTOR_QUERYSCHEMA, sRes |
Methods inherited from class com.ibm.di.eclipse.http.commands.RestCommand |
addPendingCommand, appendBody, appendResult, dispose, getApi, getCommand, getConnector, getPath, getPath, getPendingCommand, getRequest, getRequestBody, getRequestParam, getResponse, getSession, isParamTrue, isReusable, readFile, setApi, setBody, setBody, setPath, setResponse |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LogCommand
public LogCommand()
execute
public void execute()
throws java.lang.Exception
- Specified by:
execute
in class RestCommand
- Throws:
java.lang.Exception
assemblyLineCycleDone
public void assemblyLineCycleDone(Entry entry)
throws DIException
- Description copied from interface:
AssemblyLineListener
- Called when specified entry drives a complete cycle trough the assembly
line which AssemblyLineListener listens.
- Specified by:
assemblyLineCycleDone
in interface AssemblyLineListener
- Parameters:
entry
- the entry object
- Throws:
DIException
- if Runtime or Security exception occurs
assemblyLineFinished
public void assemblyLineFinished()
throws DIException
- Description copied from interface:
AssemblyLineListener
- Called when the assembly line which AssemblyLineListener listens has
finished.
- Specified by:
assemblyLineFinished
in interface AssemblyLineListener
- Throws:
DIException
- if Runtime or Security exception occurs
handleEvent
public void handleEvent(DIEvent event)
throws DIException
- Description copied from interface:
DIEventListener
- Handles a specified event.
- Specified by:
handleEvent
in interface DIEventListener
- Parameters:
event
- the event which needs to be handled.
- Throws:
DIException
- if an error occurs while trying to handle the event.
messageLogged
public void messageLogged(java.lang.String message)
throws DIException
- Description copied from interface:
LogListener
- Called right after the specified message is logged.
- Specified by:
messageLogged
in interface LogListener
- Parameters:
message
- the message text
- Throws:
DIException
- If an error is encountered.
logmsg
public void logmsg(java.lang.String msg)
setTerminated
public void setTerminated(boolean b)
isTerminated
public boolean isTerminated()