com.extentech.ExtenXLS.plugin.builtin
Class MacroHelper
java.lang.Object
com.extentech.ExtenXLS.plugin.builtin.MacroHelper
public class MacroHelper
- extends java.lang.Object
------------------------------------------------------------
MacroHelper.java
##LICENSE##
provides definition of static macro commands
------------------------------------------------------------
- Author:
- john :: [ Sep 3, 2009 ] :: Copyright ©2009 Extentech Inc.
Method Summary |
static java.lang.Object |
doit(java.util.Map parameters,
java.lang.String[] line)
process commands as they come in
------------------------------------------------------------ |
static java.lang.Object |
exec(java.lang.String restCmd)
sends the command to the server, returning the result
------------------------------------------------------------ |
static java.lang.Object |
runPlugin(PluginLoader pLoader,
java.util.Map parameters)
Attempts to run a plugin, returns null if the plugin does not exist
checks user security based on plugin being run
------------------------------------------------------------ |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COMMAND_SEND_EMAIL
public static final java.lang.String COMMAND_SEND_EMAIL
- See Also:
- Constant Field Values
COMMAND_LOOP
public static final java.lang.String COMMAND_LOOP
- See Also:
- Constant Field Values
COMMAND_GOTO
public static final java.lang.String COMMAND_GOTO
- See Also:
- Constant Field Values
COMMAND_POST
public static final java.lang.String COMMAND_POST
- See Also:
- Constant Field Values
COMMAND_GET
public static final java.lang.String COMMAND_GET
- See Also:
- Constant Field Values
COMMAND_RETURN
public static final java.lang.String COMMAND_RETURN
- See Also:
- Constant Field Values
COMMAND_BEGIN
public static final java.lang.String COMMAND_BEGIN
- See Also:
- Constant Field Values
COMMAND_END
public static final java.lang.String COMMAND_END
- See Also:
- Constant Field Values
COMMAND_SIGNON
public static final java.lang.String COMMAND_SIGNON
- See Also:
- Constant Field Values
COMMAND_SEND_MESSAGE
public static final java.lang.String COMMAND_SEND_MESSAGE
- See Also:
- Constant Field Values
COMMAND_ADD
public static final java.lang.String COMMAND_ADD
- See Also:
- Constant Field Values
COMMAND_DELETE
public static final java.lang.String COMMAND_DELETE
- See Also:
- Constant Field Values
COMMAND_INSERT
public static final java.lang.String COMMAND_INSERT
- See Also:
- Constant Field Values
MacroHelper
public MacroHelper()
doit
public static java.lang.Object doit(java.util.Map parameters,
java.lang.String[] line)
throws java.lang.Exception
- process commands as they come in
------------------------------------------------------------
- Parameters:
params
-
- Returns:
-
- Throws:
java.lang.Exception
runPlugin
public static java.lang.Object runPlugin(PluginLoader pLoader,
java.util.Map parameters)
- Attempts to run a plugin, returns null if the plugin does not exist
checks user security based on plugin being run
------------------------------------------------------------
- Returns:
exec
public static java.lang.Object exec(java.lang.String restCmd)
- sends the command to the server, returning the result
------------------------------------------------------------
- Parameters:
restCmd
-
- Returns:
Copyright © 2009 Extentech Inc. All Rights Reserved.