public class HTTPServerTool extends AbstractWandoraTool
Modifier and Type | Field and Description |
---|---|
static int |
CONFIGURE |
static int |
CONFIGURE_AND_START |
private java.lang.String |
forceUrl |
private int |
mode |
static int |
OPEN_PAGE |
static int |
OPEN_PAGE_IN_BROWSER_TOPIC_PANEL |
private java.lang.Object |
param2 |
static int |
START |
static int |
START_AND_MENU |
static int |
STOP |
static int |
STOP_AND_MENU |
static int |
UPDATE_MENU |
private ModulesWebApp |
webApp |
Constructor and Description |
---|
HTTPServerTool(int mode) |
HTTPServerTool(int mode,
ModulesWebApp webApp) |
HTTPServerTool(int mode,
ModulesWebApp webApp,
java.lang.Object param2) |
HTTPServerTool(int mode,
java.lang.String fu) |
HTTPServerTool(int mode,
java.lang.String fu,
java.lang.Object param2) |
Modifier and Type | Method and Description |
---|---|
void |
execute(Wandora wandora,
Context context)
Runs the tool.
|
java.lang.String |
getDescription()
AdminToolManager views tool descriptions while user browses available
tools and build user customizable GUI elements such as Tools menu.
|
javax.swing.Icon |
getIcon()
All tools may have identifying graphic icon used within tool GUI elements.
|
java.lang.String |
getName()
Tools name represent the tool in UI unless the tool has been given
explicitly another GUI name.
|
addUndoMarker, addUndoMarker, allowMultipleInvocations, clearAllThreads, clearThreads, clearThreads, clearToolLock, clearToolLock, clearToolLocks, configure, execute, execute, forceStop, forceStop, getContext, getCurrentLogger, getDefaultLogger, getHistory, getLastLogger, getState, getThreads, getThreads, getToolMenuItem, getToolMenuItem, getTopicName, getType, hlog, initialize, interruptAllThreads, interruptThreads, interruptThreads, isConfigurable, isRunning, isRunning, lockLog, log, log, log, log, requiresRefresh, run, runInOwnThread, setContext, setDefaultLogger, setLogTitle, setProgress, setProgressMax, setState, setToolLogger, singleLog, singleLog, singleLog, solveContextTopicMap, solveNameForTopicMap, writeOptions
public static final int CONFIGURE
public static final int START
public static final int STOP
public static final int CONFIGURE_AND_START
public static final int UPDATE_MENU
public static final int START_AND_MENU
public static final int STOP_AND_MENU
public static final int OPEN_PAGE
public static final int OPEN_PAGE_IN_BROWSER_TOPIC_PANEL
private int mode
private java.lang.String forceUrl
private java.lang.Object param2
private ModulesWebApp webApp
public HTTPServerTool(int mode, java.lang.String fu, java.lang.Object param2)
public HTTPServerTool(int mode, java.lang.String fu)
public HTTPServerTool(int mode, ModulesWebApp webApp, java.lang.Object param2)
public HTTPServerTool(int mode, ModulesWebApp webApp)
public HTTPServerTool(int mode)
public javax.swing.Icon getIcon()
AbstractWandoraTool
getIcon
should return Icon
object of
the tool.getIcon
in interface WandoraTool
getIcon
in class AbstractWandoraTool
public java.lang.String getName()
AbstractWandoraTool
getName
in interface WandoraTool
getName
in class AbstractWandoraTool
public java.lang.String getDescription()
AbstractWandoraTool
getDescription
in interface WandoraTool
getDescription
in class AbstractWandoraTool
public void execute(Wandora wandora, Context context) throws TopicMapException
WandoraTool
TopicMapException
Copyright 2004-2015 Wandora Team