PlugInterfacepublic class PathWalker extends java.lang.Object implements PlugInterface
| Constructor | Description |
|---|---|
PathWalker() |
useless constructor
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
activate() |
Interface method to activate the plug-in
|
void |
deactivate() |
Interface method to deactivate the plug-in
|
boolean |
hasProperties() |
Interface method to determine if we have configuration -- we don't.
|
boolean |
haveConfig() |
Interface method to determine if we have external config; we do.
|
void |
initialiseAtLoad() |
Interface method for initialization -- read in saved macros
|
boolean |
isActive() |
Interface method to determine if we're active
|
java.lang.String |
plugInDescription() |
Interface method to return plug-in description
|
java.lang.String |
plugInName() |
Interface method to return plug-in name
|
void |
plugInProperties() |
Interface method for configuring properties; don't have any.
|
java.lang.String |
plugInType() |
Interface method to return plug-in type
|
java.lang.String |
plugMain(java.lang.String jString,
MuSocket mSock) |
primary interface method
|
void |
setAtHalt() |
interface method to clean up at shutdown -- save our paths.
|
public java.lang.String plugInName()
plugInName in interface PlugInterfacepublic java.lang.String plugInDescription()
plugInDescription in interface PlugInterfacepublic java.lang.String plugInType()
plugInType in interface PlugInterfacepublic java.lang.String plugMain(java.lang.String jString,
MuSocket mSock)
plugMain in interface PlugInterfacejString - input commandmSock - mud connectionpublic void plugInProperties()
plugInProperties in interface PlugInterfacepublic boolean hasProperties()
hasProperties in interface PlugInterfacetrue- plug-in can be configured
false- plug-in cannot be configured
public void initialiseAtLoad()
initialiseAtLoad in interface PlugInterfacepublic void activate()
activate in interface PlugInterfacepublic void setAtHalt()
setAtHalt in interface PlugInterfacepublic void deactivate()
deactivate in interface PlugInterfacepublic boolean isActive()
isActive in interface PlugInterfacetrue - this plug-in is active
false - this plug-in is not activepublic boolean haveConfig()
haveConfig in interface PlugInterfacetrue- create a settings directory
false- no directory required